Skip to content

Conversation

@ankitaluthra1
Copy link
Collaborator

@ankitaluthra1 ankitaluthra1 commented Jan 2, 2026

This PR enhances the ls operation within the ExtendedGcsFileSystem to correctly include and represent folders for buckets with Hierarchical Namespace (HNS) enabled.

In HNS-enabled buckets, folders are first-class citizens rather than just simulated prefixes ( HNS documentation ). This change ensures that the gcsfs implementation of ls correctly include empty folder objects in the results by providing includeFolderAsPrefixes parameter in the ls api.

@ankitaluthra1 ankitaluthra1 marked this pull request as ready for review January 9, 2026 13:40
@ankitaluthra1 ankitaluthra1 merged commit e937a23 into fsspec:main Jan 9, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant