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

Method to delete local cache #153

Closed
jayqi opened this issue Jul 21, 2021 · 1 comment
Closed

Method to delete local cache #153

jayqi opened this issue Jul 21, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@jayqi
Copy link
Member

jayqi commented Jul 21, 2021

If you're processing a lot of data in a loop and want to reclaim disk space after you're done with one path, then it could be helpful to have a way to delete the locally cached file. I don't think this should cause any problems because other methods that use the cache will check if it exists and download.

Currently, one can do this with cloud_path._local.unlink() but it would be better to have a method in the public API for this.

@pjbull
Copy link
Member

pjbull commented Dec 19, 2022

Consolidated to #10

@pjbull pjbull closed this as completed Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants