Function parent

Source
pub fn parent<P>(path: P) -> String
where P: Into<PathBuf>,
Expand description

Returns the parent directory of the given path.