Lintian::Processable::FileInfo - access to collected file-info data
use Lintian::Processable; my $processable = Lintian::Processable::Binary->new;
Lintian::Processable::FileInfo provides an interface to package data for file(1) information, aka magic data.
Returns the output of file(1) for FILE (if it exists) or undef
.
NB: The value may have been calibrated by Lintian. A notorious example is gzip files, where file(1) can be unreliable at times (see #620289)
Needs-Info requirements for using file_info: file-info
Returns the cached file (1) information.
Originally written by Felix Lechner <felix.lechner@lease-up.com> for Lintian.
lintian(1), Lintian::Collect, Lintian::Collect::Binary, Lintian::Collect::Source