infer_decompressed_path

Function infer_decompressed_path 

Source
pub fn infer_decompressed_path(input_path: &Path) -> PathBuf
Expand description

Infers the output file path when decompressing without an explicit output path. Checks registered extension rules for compression formats (longest extensions first) and strips the matched extension, or appends .decompressed if none is recognized.