Archive-BagIt
view release on metacpan or search on metacpan
lib/Archive/BagIt/Role/Manifest.pm view on Meta::CPAN
my @non_payload_files = grep {$_ !~ m#^tagmanifest-.*\.txt$#} @{ $self->bagit->non_payload_files };
$self->__create_xxmanifest('tagmanifest', \@non_payload_files);
return 1;
}
no Moo;
1;
__END__
=pod
=encoding UTF-8
=head1 NAME
Archive::BagIt::Role::Manifest - A role that handles all manifest files for a specific Algorithm
=head1 VERSION
version 0.101
=head2 manifest_entries()
returns the manifest_entries() for the current digest algorithm, the result is hashref like:
{
data/hello.txt "e7c22b994c59d9cf2b48e549b1e24666636045930d3da7c1acb299d1c3b7f931f94aae41edda2c2b207a36e10f8bcb8d45223e54878f5b316e7ce3b6bc019629"
}
=head2 tagmanifest_entries()
returns the tagmanifest_entries() for the current digest algorithm, the result is hashref, see L<manifest_entries()>
=head2 calc_digests($bagit, $filenames_ref, $opts)
Method to calculate and return all digests for a a list of files. This method will be overwritten by L<Archive::BagIt::Fast>.
=head2 verify_manifest($payload_files, $return_all_errors)
check fixities of payload files in both directions
=head2 verify_tagmanifest($non_payload_files, $return_all_errors)
check fixities of non-payload files in both directions
=head2 create_manifest()
creates a new manifest file for payload files
=head2 create_tagmanifest()
creates a new tagmanifest file for non payload files
=head1 AVAILABILITY
The latest version of this module is available from the Comprehensive Perl
Archive Network (CPAN). Visit L<http://www.perl.com/CPAN/> to find a CPAN
site near you, or see L<https://metacpan.org/module/Archive::BagIt/>.
=head1 BUGS AND LIMITATIONS
You can make new bug reports, and view existing ones, through the
web interface at L<http://rt.cpan.org>.
=head1 AUTHOR
Andreas Romeyke <cpan@andreas.romeyke.de>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2025 by Rob Schmidt <rjeschmi@gmail.com>, William Wueppelmann and Andreas Romeyke.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
( run in 2.367 seconds using v1.01-cache-2.11-cpan-4ab04211f4c )