Skip to main content

parent_location

Function parent_location 

Source
pub fn parent_location(path: &Path) -> Option<PathBuf>
Expand description

The location one level up from path, or None at the top. A URL’s top is its bucket or host (Path::parent would make gs://bucket into gs:).