Skip to content

Commit

Permalink
fix(storage): Update comment, prefix should include delimiter (Google…
Browse files Browse the repository at this point in the history
  • Loading branch information
crwilcox authored Dec 10, 2020
1 parent 05ef83f commit 49ab278
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions storage/cloud-client/storage_list_files_with_prefix.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ def list_blobs_with_prefix(bucket_name, prefix, delimiter=None):
a/1.txt
a/b/2.txt
If you just specify prefix = 'a', you'll get back:
If you specify prefix ='a/', without a delimiter, you'll get back:
a/1.txt
a/b/2.txt
However, if you specify prefix='a' and delimiter='/', you'll get back:
However, if you specify prefix='a/' and delimiter='/', you'll get back:
a/1.txt
Expand Down

0 comments on commit 49ab278

Please sign in to comment.