Crate tar[][src]

A library for reading and writing TAR archives

This library provides utilities necessary to manage TAR archives abstracted over a reader or writer. Great strides are taken to ensure that an archive is never required to be fully resident in memory, and all objects provide largely a streaming interface to read bytes from.

Structs

Archive

A top-level representation of an archive file.

Builder

A structure for building archives

Entries

An iterator over the entries of an archive.

Entry

A read-only view into an entry of an archive.

GnuExtSparseHeader

Representation of the entry found to represent extended GNU sparse files.

GnuHeader

Representation of the header of an entry in an archive

GnuSparseHeader

Description of the header of a spare entry.

Header

Representation of the header of an entry in an archive

OldHeader

Representation of the header of an entry in an archive

PaxExtension

A key/value pair corresponding to a pax extension.

PaxExtensions

An iterator over the pax extensions in an archive entry.

UstarHeader

Representation of the header of an entry in an archive

Enums

EntryType

Indicate for the type of file described by a header.

HeaderMode

Declares the information that should be included when filling a Header from filesystem metadata.

Unpacked

When unpacking items the unpacked thing is returned to allow custom additional handling by users. Today the File is returned, in future the enum may be extended with kinds for links, directories etc.