bookdata::io::compress

Function open_gzin_progress

Source
pub fn open_gzin_progress(path: &Path, pb: ProgressBar) -> Result<impl BufRead>
Expand description

Open a gzip-compressed file for input, with a progress bar.

It sets the progress bar’s prefix to the file name.