Pike v8.0 release 1738

Module Filesystem.Tar


Method create

void Filesystem.Tarcreate(string filename, void|Filesystem.Base parent, void|object file)

Description

Filesystem which can be used to mount a Tar file.

Parameter filename

The tar file to mount.

Parameter parent

The parent filesystem. If non is given, the normal system filesystem is assumed. This allows mounting a TAR-file within a tarfile.

Parameter file

If specified, this should be an open file descriptor. This object could e.g. be a Stdio.File, Gz.File or Bz2.File object.