Scroll to navigation

Lintian::Index(3) Debian Package Checker Lintian::Index(3)

NAME

Lintian::Index - access to collected data about the upstream (orig) sources

SYNOPSIS

    use Lintian::Index;

DESCRIPTION

Lintian::Processable::Source::Orig::Index provides an interface to collected data about the upstream (orig) sources.

INSTANCE METHODS

Returns a reference to a hash with elements catalogued by path names.
"basedir"
Returns the base directory for file references.
"anchored"
Like "index" except orig_index is based on the "orig tarballs" of the source packages.

For native packages "index" and "orig_index" are generally identical.

NB: If sorted_index includes a debian packaging, it is was contained in upstream part of the source package (or the package is native).

_timed_collect(LABEL, CODEREF)
Runs CODEREF, reporting its elapsed time to STDERR if debug output is enabled on the index (human-readable line) or perf-debug is enabled (machine-readable CSV line). Used to time the lazily built data collections (md5sums, file types, ar, elf, java, strings) that otherwise hide inside whichever check first touches the index.

AUTHOR

Originally written by Felix Lechner <felix.lechner@lease-up.com> for Lintian.

SEE ALSO

lintian(1)

2026-10-09 Lintian v2.142.0