Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added refresh flag to ls #556

Merged
merged 4 commits into from
Aug 24, 2023
Merged

added refresh flag to ls #556

merged 4 commits into from
Aug 24, 2023

Conversation

SchadtJ
Copy link
Contributor

@SchadtJ SchadtJ commented May 30, 2023

This change is intended to implement the refresh functionality defined on AbstractFileSystem for GCSFileSystem (https://github.com/fsspec/filesystem_spec/blob/master/fsspec/spec.py#L331).

GCSFileSystem inherits from AsyncFileSystem, which inherits from AbstractFileSystem.

I believe this works as my understanding is "_list_objects" will generate the cache for a path, should one not be found. "_list_objects" will be called after "invalidate_cache".

gcsfs/core.py Outdated Show resolved Hide resolved
gcsfs/core.py Outdated Show resolved Hide resolved
@martindurant martindurant merged commit ad32812 into fsspec:main Aug 24, 2023
5 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.

2 participants