Skip to main content

language_for_path

Function language_for_path 

Source
fn language_for_path(path: &str) -> &str
Expand description

Extracts the filename from a path and returns the appropriate language identifier.