[][src]Crate async_tar

A library for reading and writing TAR archives in an async fashion.

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.

ArchiveBuilder

Configure the archive.

Builder

A structure for building archives

Entries

Stream of Entrys.

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.