Lintian::Path::FSInfo(3) | Debian Package Checker | Lintian::Path::FSInfo(3) |
Lintian::Path::FSInfo - File System information for Lintian::Path
my $l_path; # A L::Path object my $fs_info; # A L::Path::FSInfo object if ($fs_info->has_anchored_root_dir) { # The "root" dir is anchored and paths starting with "/" can # trivially be resolved (as relative to the "root" dir). } else { # The "root" dir is undefined and paths starting with "/" *cannot* # be resolved. }
On the other hand, if this returns a non-truth value, the "root" directory is not well-defined and no path starting with "/" can be resolved logically.
Originally written by Niels Thykier <niels@thykier.net> for Lintian.
lintian(1), Lintian::Path(3), Lintian::Collect(3), Lintian::Collect::Binary(3), Lintian::Collect::Source(3)
2019-05-26 | Lintian v2.15.0 |