-
Notifications
You must be signed in to change notification settings - Fork 415
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
feature: clear dune cache #8971
Comments
+1 for Another cache-related "missing" feature: some way to print the cache location (maybe as part of |
I've had this idea to have a configurable default size for |
Not really. |
Right, I was thinking configuring the size to be 0. In which situations would you want to clear the cache rather than trim it? |
I know, but my sense is that the two operations are independently useful.
Liberating disk space punctually, debugging purposes, ... |
I suppose one way |
Good point. |
I took a quick stab at this: #8975 |
And also this: #8974 |
It is pretty common to use
dune cache trim
to completely remove the cache. The right invocation isdune cache trim --size 0B
but it requires finding about--size
vs--trimmed-size
, adding aB
suffix, etc.I suggest adding a dedicated way to do that. Either
dune cache trim --all
, ordune cache clear
, to be determined.The text was updated successfully, but these errors were encountered: