pub fn path_language(path: &str) -> Option<String>Expand description
Derive a human-readable language name from a file path.
- Returns
Some("Rust")for paths with a recognized extension. - Returns
Nonefor paths with no extension or an unrecognized extension.