Skip to main content

extension

Function extension 

Source
pub fn extension<P: AsRef<Path>>(path: P) -> Option<String>
Expand description

Get the file extension (works with &str, &String, &Path, &PathBuf)