detect_path

Function detect_path 

Source
pub fn detect_path(path: &Path) -> Result<Option<FormatId>>
Expand description

Detects the compression format for a given file path (or “-” for stdin).