Skip to main content

Crate jdx_tar

Crate jdx_tar 

Source
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.
EntryInfo
Metadata sent immediately before extracting an entry.
EntryUnpacker
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.
SkippedEntry
One skipped archive entry.
SparseSegment
One contiguous data region in a sparse file. Gaps are logical holes.
UnpackOptions
Secure extraction behavior and callbacks.
UnpackSummary
Aggregate result of an extraction.

Enums§

EntryType
The kind of an archive entry.
SkipReason
Why an entry was skipped during extraction.

Type Aliases§

EntryCallback
Boxed logical-entry callback.
ProgressCallback
Boxed raw-input progress callback.
Result
The crate’s result type.