Function filename_or_exists_with_ext

Source
pub fn filename_or_exists_with_ext<P>(
    path: P,
    root: Option<P>,
    ext: Option<&str>,
) -> Result<PathBuf>
where P: AsRef<Path>,