Skip to main content

open_maybe_gzipped

Function open_maybe_gzipped 

Source
pub fn open_maybe_gzipped<R: Read + Seek>(
    path_like: PathLike<'_, R>,
) -> Result<MaybeGzippedReader<'_>, Error>
Expand description

Pick the .csv file (if it exists) as first choice, else pick .csv.gz.