-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Add a command to clean up cache packages #3712
Comments
FWIW blowing away |
Having thought about this in the context of the Approx Debian package cache, there seems no algorithms for cleaning packages that are not best implemented by manual use of rm and find. A cache cannot predict which packages will be used, so there is no determinism as to which packages are actually needed – dependencies cannot be calculated. Thus algorithms such as "older than X" or "everything" are all that you can do. "Keep all but the latest" is perhaps the only algorithm not easily implemented with find and rm, but is that a useful criterion? |
I'm going to close this as a duplicate of #3289. Thanks!! |
@jrmuizel I'm still working on it, but feel free to have a look already :D https://github.com/matthiaskrgr/cargo-cache/ |
It seems like the crate cache grows without bound. It would be nice to have a command to clear it.
The text was updated successfully, but these errors were encountered: