]> Cypherpunks repositories - gostls13.git/commit
clean: clean mod cache should respect "-n" option.
authorTim Xu <xiaoxubeii@gmail.com>
Wed, 19 Sep 2018 03:39:46 +0000 (03:39 +0000)
committerBryan C. Mills <bcmills@google.com>
Wed, 19 Sep 2018 13:39:09 +0000 (13:39 +0000)
commitf40dc5cb50aad720fb3d42b9d69c158dde07d0aa
treea4d69cfd29065bf67bc5e6c44d260a35a58829e6
parent88c1fd642ea0944b50962e1498273fee79d00e5f
clean: clean mod cache should respect "-n" option.

Clean mod cache should print remove commands and not run them when with set "-n" option.
Fixes #27458.

Change-Id: I97242cb40c062b347784cdb61653c84a3a7eab44
GitHub-Last-Rev: 5a6f10cad8c5f2c3916a74ca5eea27b1fdd1dc38
GitHub-Pull-Request: golang/go#27710
Reviewed-on: https://go-review.googlesource.com/135695
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/cmd/go/internal/clean/clean.go
src/cmd/go/testdata/script/mod_clean_cache.txt [new file with mode: 0644]