Function file_with_ext

Source
pub fn file_with_ext<P>(path: P, ext: &str, strict: bool) -> Result<PathBuf>
where P: AsRef<Path>,