table of contents
other versions
- buster-backports 2.104.0~bpo10+1
- testing 2.104.0
- unstable 2.104.0
Lintian::Debian::Control(3) | Debian Package Checker | Lintian::Debian::Control(3) |
NAME¶
Lintian::Debian::Control - Lintian interface to d/control fieldsSYNOPSIS¶
use Lintian::Debian::Control;
DESCRIPTION¶
Lintian::Debian::Control provides access to fields in d/control.INSTANCE METHODS¶
- source_fields =item installable_fields_by_name
- load
- installables
- Returns a list of the binary and udeb packages listed in the debian/control.
- installable_package_type (NAME)
- Returns package type based on value of the Package-Type (or if absent,
X-Package-Type) field. If the field is omitted, the default value
"deb" is used.
If NAME is not an installable listed in the source packages debian/control file, this method return "undef".
- installable_fields (PACKAGE)
- Returns the Deb822::Section object for the installable. Returns an empty object if the installable does not exist.
AUTHOR¶
Originally written by Russ Allbery <rra@debian.org> for Lintian. Amended by Felix Lechner <felix.lechner@lease-up.com> for Lintian.SEE ALSO¶
lintian(1)2021-02-01 | Lintian v2.104.0~bpo10+1 |