Function get_parent_folder

Source
pub fn get_parent_folder(path: &Path) -> Cow<'_, Path>
Expand description

Get the parent path of the given path, if there is none use the tempdir