Expand description
TAR and TAR.GZ stream splitters: metadata constants, bounded configuration, and the TAR-specific error surface.
Splitting itself (bounded sequential TAR reading over materialized bytes)
is layered on this contract. Entry names are validated through the shared
archive path validator, so TAR and ZIP reject the same unsafe shapes with
format-prefixed error text. TAR.GZ runs the same reader over the output
of the bounded single-member GZIP decoder shared with
GzipDataFormat; concatenated multi-member GZIP input is rejected
instead of silently split.
Structs§
- TarSplit
Config - Bounded configuration for TAR and TAR.GZ stream splitting.
Constants§
- CAMEL_
TAR_ ENTRY_ INDEX - CAMEL_
TAR_ ENTRY_ IS_ DIRECTORY - CAMEL_
TAR_ ENTRY_ NAME - CAMEL_
TAR_ ENTRY_ PATH - CAMEL_
TAR_ ENTRY_ SIZE
Functions§
- split_
tar_ bytes - Split a TAR archive’s materialized bytes into a stream of Exchanges, one per regular-file entry in header order.
- split_
tar_ gz_ bytes - Split a single-member TAR.GZ stream into a stream of Exchanges, one per regular-file entry in header order.
- tar_
gz_ splitter - Build a
StreamingSplitExpressionthat splits single-member TAR.GZ bodies into per-entry Exchanges after bounded GZIP decoding. - tar_
splitter - Build a
StreamingSplitExpressionthat splits TAR archive bodies into per-entry Exchanges.