parent

Function parent 

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

Returns the absolute path of the parent directory for the given path.