[][src]Function af_lib::path::parent

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.