Provided by: lintian_2.48.0_all
NAME
Lintian::Info::FileInfo - access to collected file-info data
SYNOPSIS
use Lintian::Processable; my $processable = Lintian::Processable::Binary->new;
DESCRIPTION
Lintian::Info::FileInfo provides an interface to package data for file(1) information, aka magic data.
INSTANCE METHODS
file_info (FILE) 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 saved_file_info Returns the cached file (1) information.
AUTHOR
Originally written by Felix Lechner <felix.lechner@lease-up.com> for Lintian.
SEE ALSO
lintian(1), Lintian::Collect, Lintian::Collect::Binary, Lintian::Collect::Source