class Webgen::Source::TarArchive

This class is used to read source paths from a (gzipped) tar archive. The archive can be remote (http(s) or ftp) or local.

For example, the following are all valid URIs:



The glob (see File.fnmatch for details) that is used to specify which paths in the archive should be returned by paths.


The URI of the tar archive.

Public Class Methods

new(website, uri, glob = '**/*')

Create a new tar archive source for the URI string uri.

Public Instance Methods


Return all paths in the tar archive available at uri.