pub fn path_to_name(path: &Path) -> Result<&str>Expand description
Transform a path into its base name and returns an std::io::Error if it is .. or if the
basename is not valid unicode.
pub fn path_to_name(path: &Path) -> Result<&str>Transform a path into its base name and returns an std::io::Error if it is .. or if the
basename is not valid unicode.