Expand description
A secure, synchronous, streaming tar reader, writer, and extractor.
This crate reads already-decompressed tar streams and supports all GNU sparse formats commonly found in release archives.
Structs§
- Archive
- A tar archive over a non-seekable input stream.
- Builder
- A synchronous, streaming tar archive writer.
- Entries
- Streaming iterator returned by
Archive::entries. - Entry
- A logical archive entry. Reading a sparse entry materializes holes as zeroes.
- Entry
Info - Metadata sent immediately before extracting an entry.
- Entry
Unpacker - Stateful secure extractor for callers that inspect or skip individual entries before unpacking them.
- Header
- Parsed metadata for a tar header.
- Progress
- Progress notification containing raw input bytes consumed.
- Skipped
Entry - One skipped archive entry.
- Sparse
Segment - One contiguous data region in a sparse file. Gaps are logical holes.
- Unpack
Options - Secure extraction behavior and callbacks.
- Unpack
Summary - Aggregate result of an extraction.
Enums§
- Entry
Type - The kind of an archive entry.
- Skip
Reason - Why an entry was skipped during extraction.
Type Aliases§
- Entry
Callback - Boxed logical-entry callback.
- Progress
Callback - Boxed raw-input progress callback.
- Result
- The crate’s result type.