Skip to content

Commit f580f77

Browse files
committed
cmd/deadcode: publish internal/cmd/deadcode
Fixes golang/go#63501 Change-Id: I794734e4508d7ccbd8653554f14d109ee8ca9927 Reviewed-on: https://go-review.googlesource.com/c/tools/+/547035 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Robert Findley <[email protected]>
1 parent 7590aeb commit f580f77

10 files changed

+2
-2
lines changed
File renamed without changes.

internal/cmd/deadcode/doc.go renamed to cmd/deadcode/doc.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ the formatting of the list of Edge objects.
100100
The default format shows, for each edge in the path, whether the call
101101
is static or dynamic, and its source line number. For example:
102102
103-
$ deadcode -whylive=bytes.Buffer.String -test ./internal/cmd/deadcode/...
104-
golang.org/x/tools/internal/cmd/deadcode.main
103+
$ deadcode -whylive=bytes.Buffer.String -test ./cmd/deadcode/...
104+
golang.org/x/tools/cmd/deadcode.main
105105
static@L0117 --> golang.org/x/tools/go/packages.Load
106106
static@L0262 --> golang.org/x/tools/go/packages.defaultDriver
107107
static@L0305 --> golang.org/x/tools/go/packages.goListDriver

0 commit comments

Comments
 (0)