Function decompressed_file

Source
pub fn decompressed_file(
    path: &Path,
    expected_suffix: Option<&str>,
) -> Result<Box<dyn SendRead>>
Expand description

Transparently decompress zstd files if they have a .zstd suffix; after that, expecting the expected_suffix (which must be given without a leading dot) if given.