pub fn extract_extension(path: &Path) -> Result<&str, Error>Expand description
Extract extension of a path
ยงErrors
Will return Error::NoFileExtension if the file have no extension.
Will return Error::NotUtf8Extension if the file have an extension which is not utf8.