cmd/go: allow to specify modules to delete with 'go clean -modcache' #32976
Labels
FeatureRequest
FrozenDueToAge
modules
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
go clean -modcache
causes cleaning of the entire module download cache.This is useful when the module cache contains problematic modules
(e.g. module version that is different sum hash from what sum.golang.org has, etc) .
But, redownloading everything is sometimes costly.
It would be nice if users can have controls over what modules to delete.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?linux/amd64
The text was updated successfully, but these errors were encountered: