NAME
Path::Resolver::Resolver::Archive::Tar - find content inside a tar archive
VERSION
version 3.100455
SYNOPSIS
my $resolver = Path::Resolver::Resolver::Archive::Tar->new({
archive => 'archive-file.tar.gz',
});
my $simple_entity = $resolver->entity_at('foo/bar.txt');
This resolver looks for files inside a tar archive or a compressed tar archive. It uses Archive::Tar, and can read any archive understood by that library.
The native type of this resolver is a class type of Path::Resolver::SimpleEntity and it has no default converter.
PERL VERSION
This library should run on perls released even a long time ago. It should work on any version of perl released in the last five years.
Although it may work on older versions of perl, no guarantee is made that the minimum required version will not be increased. The version may be increased for any reason, and there is no promise that patches will be accepted to lower the minimum required perl.
ATTRIBUTES
archive
This attribute stores the Archive::Tar object in which content will be resolved. A simple string may be passed to the constructor to be used as an archive filename.
root
If given, this attribute specifies a root inside the archive under which to look. This is useful when dealing with an archive in which all content is under a common directory.
AUTHOR
Ricardo Signes <cpan@semiotic.systems>
COPYRIGHT AND LICENSE
This software is copyright (c) 2022 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.