.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Lintian::Debian::Control 3" .TH Lintian::Debian::Control 3 2024-02-05 "Lintian v2.117.0" "Debian Package Checker" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Lintian::Debian::Control \- Lintian interface to d/control fields .SH SYNOPSIS .IX Header "SYNOPSIS" .Vb 1 \& use Lintian::Debian::Control; .Ve .SH DESCRIPTION .IX Header "DESCRIPTION" Lintian::Debian::Control provides access to fields in d/control. .SH "INSTANCE METHODS" .IX Header "INSTANCE METHODS" .IP "item =item source_fields =item installable_fields_by_name" 4 .IX Item "item =item source_fields =item installable_fields_by_name" .PD 0 .IP load 4 .IX Item "load" .IP installables 4 .IX Item "installables" .PD Returns a list of the binary and udeb packages listed in the \&\fIdebian/control\fR. .IP "installable_package_type (NAME)" 4 .IX Item "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. .Sp If NAME is not an installable listed in the source packages \&\fIdebian/control\fR file, this method return \f(CW\*(C`undef\*(C'\fR. .IP "installable_fields (PACKAGE)" 4 .IX Item "installable_fields (PACKAGE)" Returns the Deb822::Section object for the installable. Returns an empty object if the installable does not exist. .SH AUTHOR .IX Header "AUTHOR" Originally written by Russ Allbery for Lintian. Amended by Felix Lechner for Lintian. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBlintian\fR\|(1)