]> Cypherpunks repositories - gostls13.git/commit
cmd/go: replace PackageInternal.GoFiles, AllGoFiles with methods
authorRuss Cox <rsc@golang.org>
Sun, 16 Jul 2017 14:31:48 +0000 (08:31 -0600)
committerRuss Cox <rsc@golang.org>
Tue, 3 Oct 2017 19:56:01 +0000 (19:56 +0000)
commite8fd15fd05446edb322a4c553deefbfb940428bc
tree2b053531c6232d943658487bf05ab6ca61ff6c83
parentb4f21d6e223af417aedd356885a340abd9dc1216
cmd/go: replace PackageInternal.GoFiles, AllGoFiles with methods

These are rarely used and can be computed on demand,
to make clear that they are never out of sync with the
lists in the non-internal Package fields.

Change-Id: I8c621dceaff1aeb39a3ed83f18e848adf14d7106
Reviewed-on: https://go-review.googlesource.com/56284
Reviewed-by: David Crawshaw <crawshaw@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/go/internal/base/path.go
src/cmd/go/internal/fix/fix.go
src/cmd/go/internal/fmtcmd/fmt.go
src/cmd/go/internal/generate/generate.go
src/cmd/go/internal/get/get.go
src/cmd/go/internal/load/pkg.go