uncompress_all

Function uncompress_all 

Source
pub fn uncompress_all(
    file: &mut File,
    output_directory: &Path,
    overwrite: bool,
    progress_cb: impl FnMut(Progress<'_>),
) -> Result<()>
Expand description

Uncompresses all files from the gzip input

The passed file must be positioned at the beginning of the input.

ยงErrors

If this function encounters any form of I/O or other error except interruption by a signal, an adequate error variant will be returned. The underlying reader will be positioned near the offset where the error occured.

Interruption by a signal instead causes progress_cb to be called with Progress::ProgressStep.