Debian::Snapshot::File - information about a file
version 0.003
The hash of this file.
Check if this file belongs to the archive $archive_name which can either be a string or a regular expression.
$archive_name
Download the file from the snapshot service.
(Optional.) Name of the archive used when looking for the filename.
The name of the directory where the file should be stored.
The filename to use. If this option is not specified the method filename will be used to retrieve the filename.
filename
If true downloading will overwrite existing files if their hash differs from the expected value. Defaults to false.
At least one of directory and filename must be given.
directory
Return the filename(s) of this file in the archive $archive_name (which might be a string or a regular expression). Will die if there is no known filename or several filenames were want and the method is called in scalar context.
If the optional parameter $constraint is specified the filename must either start with this string followed by an underscore or match this regular expression.
$constraint
Debian::Snapshot
Ansgar Burchardt <ansgar@43-1.org>
This software is copyright (c) 2010 by Ansgar Burchardt <ansgar@43-1.org>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Debian::Snapshot, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Debian::Snapshot
CPAN shell
perl -MCPAN -e shell install Debian::Snapshot
For more information on module installation, please visit the detailed CPAN module installation guide.