line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Archive::BagIt::Plugin::Algorithm::MD5; |
2
|
7
|
|
|
7
|
|
3706
|
use strict; |
|
7
|
|
|
|
|
21
|
|
|
7
|
|
|
|
|
194
|
|
3
|
7
|
|
|
7
|
|
33
|
use warnings; |
|
7
|
|
|
|
|
12
|
|
|
7
|
|
|
|
|
234
|
|
4
|
7
|
|
|
7
|
|
45
|
use Carp qw( croak ); |
|
7
|
|
|
|
|
13
|
|
|
7
|
|
|
|
|
322
|
|
5
|
7
|
|
|
7
|
|
39
|
use Moo; |
|
7
|
|
|
|
|
8
|
|
|
7
|
|
|
|
|
35
|
|
6
|
7
|
|
|
7
|
|
2159
|
use namespace::autoclean; |
|
7
|
|
|
|
|
11
|
|
|
7
|
|
|
|
|
36
|
|
7
|
|
|
|
|
|
|
with 'Archive::BagIt::Role::Algorithm', 'Archive::BagIt::Role::OpenSSL'; |
8
|
|
|
|
|
|
|
our $VERSION = '0.092'; # VERSION |
9
|
|
|
|
|
|
|
# ABSTRACT: The MD5 algorithm plugin (default for v0.97) |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
has '+plugin_name' => ( |
12
|
|
|
|
|
|
|
is => 'ro', |
13
|
|
|
|
|
|
|
default => 'Archive::BagIt::Plugin::Algorithm::MD5', |
14
|
|
|
|
|
|
|
); |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
has '+name' => ( |
17
|
|
|
|
|
|
|
is => 'ro', |
18
|
|
|
|
|
|
|
#isa => 'Str', |
19
|
|
|
|
|
|
|
default => 'md5', |
20
|
|
|
|
|
|
|
); |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
25
|
|
|
|
|
|
|
1; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
__END__ |