.\" -*- 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::Processable::Source::Format 3" .TH Lintian::Processable::Source::Format 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::Processable::Source::Format \- Lintian interface to source format .SH SYNOPSIS .IX Header "SYNOPSIS" .Vb 1 \& my $collect = Lintian::Processable::Source::Format\->new; .Ve .SH DESCRIPTION .IX Header "DESCRIPTION" Lintian::Processable::Source::Format provides an interface to source format information. .SH "INSTANCE METHODS" .IX Header "INSTANCE METHODS" .IP source_format 4 .IX Item "source_format" .PD 0 .IP native 4 .IX Item "native" .PD Returns true if the source package is native and false otherwise. This is generally determined from the source format, though in the 1.0 case the nativeness is determined by looking for the diff.gz (using the name of the source package and its version). .Sp If the source format is 1.0 and the version number is absent, this will return false (as native packages are a lot rarer than non-native ones). .Sp Note if the source format is missing, it is assumed to be a 1.0 package. .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), \fBLintian::Relation\fR\|(3)