DOKK / manpages / debian 12 / lintian / Lintian::Debian::Control.3.en
Lintian::Debian::Control(3) Debian Package Checker Lintian::Debian::Control(3)

Lintian::Debian::Control - Lintian interface to d/control fields

    use Lintian::Debian::Control;

Lintian::Debian::Control provides access to fields in d/control.

Returns a list of the binary and udeb packages listed in the debian/control.
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".

Returns the Deb822::Section object for the installable. Returns an empty object if the installable does not exist.

Originally written by Russ Allbery <rra@debian.org> for Lintian. Amended by Felix Lechner <felix.lechner@lease-up.com> for Lintian.

lintian(1)

2023-02-05 Lintian v2.116.3