Lintian::Processable::Installed
access to collected data about the upstream (orig) sources
- Provided by: lintian (Version: 2.62.0ubuntu2.5)
- Report a bug
access to collected data about the upstream (orig) sources
use Lintian::Processable;
my $processable = Lintian::Processable::Binary->new;
Lintian::Processable::Installed provides an interface to collected data about the upstream (orig) sources.
my $file = $info->index ("usr/bin/lintian");
my $dir = $info->index ("usr/bin/");
To get a list of entries in the package, see "sorted_index". To actually access the underlying file (e.g. the contents), use "unpacked ([FILE])".
Note that the "root directory" (denoted by the empty string) will always be present, even if the underlying tarball omits it.
Needs-Info requirements for using index: unpacked
The array will not contain the entry for the "root" of the package.
The resolution is done using resolve_path.
Originally written by Felix Lechner <felix.lechner@lease-up.com> for Lintian.