pub fn parent_path(path: &str) -> Option<&str>
The parent path (one segment shorter), or None for a top-level (single segment) path.
None