logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Lintian::Processable::Source::Format - Lintian interface to source format

Author

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

Description

Lintian::Processable::Source::Format provides an interface to source format information.

Instance Methods

source_format native 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). 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). Note if the source format is missing, it is assumed to be a 1.0 package.

Name

Lintian::Processable::Source::Format - Lintian interface to source format

See Also

lintian(1), Lintian::Relation(3) Lintian v2.122.0ubuntu1 2025-05-01 Lintian::Processable::Source::Format(3)

Synopsis

my $collect = Lintian::Processable::Source::Format->new;

See Also