Skip to main content

language_for_path

Function language_for_path 

Source
pub fn language_for_path(path: &Path) -> Option<&'static str>
Expand description

Return the language name for a file extension (e.g. ".py""python").