Function tvix_store::import::path_to_name

source ·
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.