]> Cypherpunks repositories - gostls13.git/commit
cmd/go: add clean -modcache
authorRuss Cox <rsc@golang.org>
Tue, 17 Jul 2018 01:37:44 +0000 (21:37 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 18 Jul 2018 02:09:01 +0000 (02:09 +0000)
commit56deebb3e43b3ab6f18fdc62350cc2fc8d08cce7
treea8f7e0508066f5af04788bfc5b03f62560feab9c
parent30678788b2fef14a614a1cb5b0ea4a7b12a61236
cmd/go: add clean -modcache

We need an easy way to remove $GOPATH/src/mod,
especially since all the directories are marked read-only.

Change-Id: Ib9e8e47e50048f55ecc4de0229b06c4a416ac114
Reviewed-on: https://go-review.googlesource.com/124382
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/cmd/go/internal/clean/clean.go
src/cmd/go/mod_test.go