]> Cypherpunks repositories - gostls13.git/commit
cmd/go: add Shell.RemoveAll
authorAustin Clements <austin@google.com>
Tue, 17 Oct 2023 19:05:32 +0000 (15:05 -0400)
committerGopher Robot <gobot@golang.org>
Thu, 19 Oct 2023 19:09:41 +0000 (19:09 +0000)
commit5bddb52a0b6bc82ee6852eb0da18094396722460
tree3fab22dd3a66e74ef2cb865cf90420bc9e50d8a8
parent4c31dfe850165979bbcf0510c35576d022f26eb3
cmd/go: add Shell.RemoveAll

There are quite a few places that perform their own command logging
and then use os.RemoveAll. Unify (nearly) all of these into
(*Shell).RemoveAll, like many of the other internal implementations of
basic shell operations.

Change-Id: I94a2cbd9dc150a4c94a4051c42ce8e86dcc736fd
Reviewed-on: https://go-review.googlesource.com/c/go/+/536099
Reviewed-by: Bryan Mills <bcmills@google.com>
Auto-Submit: Austin Clements <austin@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/go/internal/clean/clean.go
src/cmd/go/internal/test/test.go
src/cmd/go/internal/work/exec.go
src/cmd/go/internal/work/shell.go