pub fn resolve_language_str<'a>(
ext: &str,
overrides: Option<&'a HashMap<String, String>>,
) -> Option<&'a str>
Expand description
Get the language string that corresponds to an extension.
The user is optionally allowed to supply a map of overrides for these extensions, if none are
supplied, or if the given extension is not found in the map, this method will fall back to the
default map, FILE_EXTS
.