pub fn list_contents(
file: &mut File,
progress_cb: impl FnMut(Progress<'_>),
) -> Result<Vec<FileInfo>>Expand description
Lists all files in the input gzip file
ยง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 position in input is undefined.
Interruption by a signal instead causes progress_cb to be called with
Progress::ProgressStep.