from_path

Function from_path 

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

Alias for from_filename (for consistency with mime_guess API)