table of contents
Lintian::Collect::Buildinfo(3) | Debian Package Checker | Lintian::Collect::Buildinfo(3) |
NAME¶
Lintian::Collect::Buildinfo - Lintian interface to .buildinfo file data collection
SYNOPSIS¶
my ($name, $type) = ('foobar_1.2_i386.buildinfo', 'changes'); my $collect = Lintian::Collect->new($name, $type); my $files = $collect->files; foreach my $file (keys %{$files}) { my $size = $files->{$file}{size}; print "File $file has size $size\n"; }
DESCRIPTION¶
Lintian::Collect::Buildinfo provides an interface to data for .buildinfo files. It implements data collection methods specific to .buildinfo files.
CLASS METHODS¶
- new (PACKAGE)
- Creates a new Lintian::Collect::Buildinfo object. Currently, PACKAGE is ignored. Normally, this method should not be called directly, only via the Lintian::Collect constructor.
INSTANCE METHODS¶
In addition to the instance methods listed below, all instance methods documented in the Lintian::Collect module are also available.
- files
- Returns a reference to a hash containing information about files listed in the .buildinfo file. Each hash may have the following keys:
Needs-Info requirements for using files: "field ([FIELD[, DEFAULT]])" in Lintian::Collect
AUTHOR¶
Originally written by Adam D. Barratt <adsb@debian.org> for Lintian.
SEE ALSO¶
lintian(1), Lintian::Collect
2019-11-04 | Lintian v2.33.0 |