Skip to content

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