BREAKING CHANGES: GCSPaths must include a path scheme
Before GCSPath would convert /bucket-name/file into gs://bucket-name/file internally. This leads to ambiguity *(thanks @honnibal) when dealing with regular file-system paths and bucket paths together. Does the path /foo/bar point to an absolute file path or a GCS bucket named foo?
Now paths must be constructed with a path scheme. This allows GCSPath to deal with both types of paths, and is needed for the CLI app/s to come.
BREAKING CHANGES: GCSPaths must include a path scheme
Before GCSPath would convert
/bucket-name/file
intogs://bucket-name/file
internally. This leads to ambiguity *(thanks @honnibal) when dealing with regular file-system paths and bucket paths together. Does the path/foo/bar
point to an absolute file path or a GCS bucket named foo?Now paths must be constructed with a path scheme. This allows GCSPath to deal with both types of paths, and is needed for the CLI app/s to come.