Skip to main content

wrap

Function wrap 

Source
pub fn wrap<R: Read, W: Write>(
    input: R,
    output: W,
    opts: WrapOptions,
) -> Result<()>
Expand description

Wraps an existing tar stream into a tarzan archive.

The input is processed as a stream: member data is compressed and written incrementally, so peak memory is bounded by opts.chunk_size rather than by the size of the input.