Function gcs_split_path
Source pub fn gcs_split_path(path: &str) -> (String, String)
Expand description
Split a GCS path into a bucket name and a prefix.
The GCS path should be in the format gs://bucket_name/prefix
.
§Arguments
path
- A string slice that holds the GCS path.
§Returns
A tuple with the bucket name and the prefix.
§Panics
This function panics if the GCS path is invalid.