Function path_to_name

Source
pub(crate) fn path_to_name(path: &Path) -> Result<&str>