pub fn parent_location(path: &Path) -> Option<PathBuf>
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:).
path
None
Path::parent
gs://bucket
gs: