Crate tokio_tar

source ·
Expand description

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

  • A top-level representation of an archive file.
  • Configure the archive.
  • A structure for building archives
  • Stream of Entrys.
  • A read-only view into an entry of an archive.
  • Representation of the entry found to represent extended GNU sparse files.
  • Representation of the header of an entry in an archive
  • Description of the header of a spare entry.
  • Representation of the header of an entry in an archive
  • Representation of the header of an entry in an archive
  • A key/value pair corresponding to a pax extension.
  • An iterator over the pax extensions in an archive entry.
  • Representation of the header of an entry in an archive

Enums

  • Indicate for the type of file described by a header.
  • Declares the information that should be included when filling a Header from filesystem metadata.
  • 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.