Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit cfd0f64

Browse files
authored
0.7.0+1: Correct path separator in Bucket.list() to be '/'.
Fix Bucket.list() so that object paths are split on '/' when listing directories and objects.
1 parent 9955c25 commit cfd0f64

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.7.0+1
2+
3+
* Fix path separator in Bucket.list().
4+
15
## 0.7.0
26

37
* **BREAKING CHANGE:** Add generics support for `Model.id`.
@@ -8,7 +12,7 @@
812

913
## 0.6.4
1014

11-
* Require minimum Dart SDK `2.3.0`.
15+
* Require minimum Dart SDK `2.3.0`.
1216

1317
## 0.6.3
1418

lib/src/storage_impl.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
part of gcloud.storage;
66

77
const String _ABSOLUTE_PREFIX = 'gs://';
8-
const String _DIRECTORY_DELIMITER = 'gs://';
8+
const String _DIRECTORY_DELIMITER = '/';
99

1010
/// Representation of an absolute name consisting of bucket name and object
1111
/// name.

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: gcloud
2-
version: 0.7.0
2+
version: 0.7.0+1
33
description: >-
44
High level idiomatic Dart API for Google Cloud Storage, Pub-Sub and Datastore.
55
homepage: https://github.com/dart-lang/gcloud

0 commit comments

Comments
 (0)