Expand description
Allocation-free extraction of one regular file from a tar stream.
Structs§
- Archive
- Allocation-free streaming tar/PAX layer parser.
- Archive
Buffers - Caller-owned scratch used by
Archive. - Entry
- Metadata for one validated archive entry.
- Entry
Extractor - 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§
- Archive
Error - Archive
Finish Error - Entry
Kind - Type of a tar entry delivered to a
LayerEventSink. - Extract
Error - A failure encountered while consuming a tar stream.
- Finish
Error - A failure detected when the end of the input stream is reported.
- PaxError
- Scratch
- TarWrite
Error
Traits§
- Layer
Event Sink - Receives validated, ordered layer archive events.
- Transactional
Layer Sink - A sink capable of staging a complete layer until integrity checks succeed.