Skip to main content

Module tar

Module tar 

Source
Expand description

Allocation-free extraction of one regular file from a tar stream.

Structs§

Archive
Allocation-free streaming tar/PAX layer parser.
ArchiveBuffers
Caller-owned scratch used by Archive.
Entry
Metadata for one validated archive entry.
EntryExtractor
Extracts the first regular file whose path exactly matches target.
PaxRecord
One PAX extended-header record.
PaxRecords
Iterator over validated PAX records.
TarWriter
Allocation-free writer for deterministic ustar archives.

Enums§

ArchiveError
ArchiveFinishError
EntryKind
Type of a tar entry delivered to a LayerEventSink.
ExtractError
A failure encountered while consuming a tar stream.
FinishError
A failure detected when the end of the input stream is reported.
PaxError
Scratch
TarWriteError

Traits§

LayerEventSink
Receives validated, ordered layer archive events.
TransactionalLayerSink
A sink capable of staging a complete layer until integrity checks succeed.