pub fn strip_format_extension( input_path: &Path, format_id: FormatId, ) -> Option<PathBuf>
Strips an extension belonging to the given FormatId from the input path.
FormatId