Expand description
Single-file archive output for split (the spool-then-pack model).
An archive (tar.gz, zip, …) is one sequential stream whose entries must
be written complete and (for tar) size-first — incompatible with the
interleaved statement stream split produces. So archives are built in two
phases: spool the tables to a temp directory using the normal parallel
writers, then pack each finished file into the archive in one pass.
Enums§
- Archive
Format - Single-file archive container, inferred from the output path’s extension.
Functions§
- pack_
directory - Pack every file in
src_dir(sorted by name for deterministic ordering) into a single archive atout_path. Entry names are the bare file names.