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

start cache clear ops #328

Merged
merged 4 commits into from
Jun 18, 2020
Merged

start cache clear ops #328

merged 4 commits into from
Jun 18, 2020

Conversation

martindurant
Copy link
Member

POC for #325
@gmaze , this is not quite what you need, but I though would be useful for the general user. What do you think?

@gmaze
Copy link

gmaze commented Jun 18, 2020

awesome !
This should provide a minimal way of clearing the cache

Is the os.remove(fn) ok and won't trigger an error like #322 ?

@martindurant
Copy link
Member Author

Is the os.remove(fn) ok and won't trigger an error like #322 ?

If the cache dir is writable, we should be able to do this.

@martindurant martindurant merged commit 5cbb99c into fsspec:master Jun 18, 2020
@martindurant martindurant deleted the cache_clear branch June 18, 2020 18:15
@gmaze
Copy link

gmaze commented Jun 19, 2020

Thanks a lot @martindurant for being so fast with this !
I'll be able to use this in https://github.com/euroargodev/argopy right away

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