Function check_file_name

Source
fn check_file_name<P: AsRef<Path>>(path: P) -> Result<String>