Lintian::Processable::Pool -- Pool of processables
use Lintian::Processable::Pool; my $pool = Lintian::Processable::Pool->new; $pool->add_file('foo.changes'); $pool->add_file('bar.dsc'); $pool->add_file('baz.deb'); $pool->add_file('qux.buildinfo'); foreach my $gname ($pool->get_group_names){ my $group = $pool->get_group($gname); process($gname, $group); }
Returns a hash reference to the list of processable groups that are currently in the pool. The key is a unique identifier based on name and version.
Returns or sets the lab used by this pool.
Returns or sets the Unpacker object used by this pool.
Adds a group to the pool.
Process the pool.
Moo destructor.
Returns the name of all the groups in this pool.
Do not modify the list nor its contents.
Returns the group called $name or undef
if there is no group called $name.
Returns true if the pool is empty.
Originally written by Niels Thykier <niels@thykier.net> for Lintian.
lintian(1)