]> Cypherpunks repositories - gostls13.git/commit
internal/coverage: separate out cmd defs to separate package
authorThan McIntosh <thanm@google.com>
Wed, 9 Aug 2023 12:50:41 +0000 (08:50 -0400)
committerGopher Robot <gobot@golang.org>
Mon, 14 Aug 2023 12:51:16 +0000 (12:51 +0000)
commit98bacdeafe089f917d98d2151694568e4a25a4c3
treec698d5aed9c730b63cbbdd8c009a650fbdfb1f0c
parentac64a3628b54f47dc3aa84fc4527fd753db7b834
internal/coverage: separate out cmd defs to separate package

Relocate the definitions in cmddefs.go (used by the compiler and
the cover tool) to a separate package "covcmd". No change
in functionality, this is a pure refactoring, in preparation
for a subsequent change that will require updating the
imports for the package.

Change-Id: Ic1d277c94d9a574de0a11ec5ed77e892302b9a47
Reviewed-on: https://go-review.googlesource.com/c/go/+/517696
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Than McIntosh <thanm@google.com>
Run-TryBot: Than McIntosh <thanm@google.com>
Reviewed-by: David Chase <drchase@google.com>
src/cmd/compile/internal/base/flag.go
src/cmd/cover/cfg_test.go
src/cmd/cover/cover.go
src/cmd/dist/buildtool.go
src/cmd/go/internal/work/exec.go
src/internal/coverage/covcmd/cmddefs.go [moved from src/internal/coverage/cmddefs.go with 81% similarity]
src/internal/coverage/defs.go