Thanks to @jean-philippe-martin for spotting this.
The prefixes field is not selected (and thus returned in the JSON) with our field selector option. This causes list(bucket) to return ONLY files (and NOT directories) in the current directory when BlobListOptions.currentDirectory() is provided along with BlobListOption.fields().
Thanks to @jean-philippe-martin for spotting this.
The
prefixesfield is not selected (and thus returned in the JSON) with our field selector option. This causeslist(bucket)to return ONLY files (and NOT directories) in the current directory whenBlobListOptions.currentDirectory()is provided along withBlobListOption.fields().