strip_format_extension

Function strip_format_extension 

Source
pub fn strip_format_extension(
    input_path: &Path,
    format_id: FormatId,
) -> Option<PathBuf>
Expand description

Strips an extension belonging to the given FormatId from the input path.