pub fn parent_location(path: &Path) -> Option<PathBuf>
The location one level up from path, or None at the top.
path
None
A URL’s top is its bucket or host: Path::parent would turn gs://bucket into gs:.
Path::parent
gs://bucket
gs: