Function path_or_err

Source
pub fn path_or_err<P>(path: P) -> Result<PathBuf>
where P: AsRef<Path>,