Lines Matching refs:subdir
47 def list_bucket_contents(bucket, subdir=None):
55 subdir: directory within the bucket to list, or None for root directory
57 # The GCS command relies on the subdir name (if any) ending with a slash.
58 if subdir and not subdir.endswith('/'):
59 subdir += '/'
60 subdir_length = len(subdir) if subdir else 0
65 prefix=subdir)
69 # prefixes: the full path of every directory within subdir, with trailing '/'
70 # items: property dict for each file object within subdir