Function af_core::path::parent[][src]

pub fn parent(path: &str) -> Option<&str>

Returns the parent of the given path.

If path is a root or empty path, this function returns None.