other versions
- buster-backports 2.104.0~bpo10+1
- testing 2.104.0
- unstable 2.104.0
Lintian::Pool(3) | Debian Package Checker | Lintian::Pool(3) |
NAME¶
Lintian::Pool -- Pool of processablesSYNOPSIS¶
use Lintian::Pool; my $pool = Lintian::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); }
METHODS¶
- $pool->groups
- 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.
- "savedir"
- $pool->basedir
- Returns the base directory for the pool. Most likely it's a temporary directory.
- $pool->keep
- Returns or accepts a boolean value that indicates whether the lab should be removed when Lintian finishes. Used for debugging.
- $pool->add_group($group)
- Adds a group to the pool.
- $pool->process
- Process the pool.
- $pool->get_group_names
- Returns the name of all the groups in this pool.
Do not modify the list nor its contents.
- $pool->get_group($name)
- Returns the group called $name or "undef" if there is no group called $name.
- $pool->empty
- Returns true if the pool is empty.
- DEMOLISH
- Removes the lab and everything in it. Any reference to an entry returned from this lab will immediately become invalid.
AUTHOR¶
Originally written by Niels Thykier <niels@thykier.net> for Lintian.SEE ALSO¶
lintian(1)Lintian::Processable
Lintian::Group
2021-02-01 | Lintian v2.104.0~bpo10+1 |