]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/modload: rename LoadBuildList and BuildList
authorBryan C. Mills <bcmills@google.com>
Mon, 27 Jul 2020 16:57:36 +0000 (12:57 -0400)
committerBryan C. Mills <bcmills@google.com>
Wed, 9 Sep 2020 22:39:02 +0000 (22:39 +0000)
commit564b350c08a1906e8f6a876fef4cca71f6516d4c
tree4c6221b42e4ff068a4c5f3db09273271ab6f164a
parent521393e7e05cd9272ae6023387fa92839d72eb4f
cmd/go/internal/modload: rename LoadBuildList and BuildList

With lazy loading, the “build list” can be refined as packages are loaded.
Rename functions that return the build list to more precisely describe
the set of modules returned by the call.

Also eliminate a redundant call to LoadBuildList (right before
ListModules, which itself begins with the same call).

For #36460

Change-Id: I0fc4f9dd7602e0df5e166e329ee5d516d810ca53
Reviewed-on: https://go-review.googlesource.com/c/go/+/249878
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
src/cmd/go/internal/list/list.go
src/cmd/go/internal/modcmd/graph.go
src/cmd/go/internal/modcmd/vendor.go
src/cmd/go/internal/modcmd/verify.go
src/cmd/go/internal/modget/get.go
src/cmd/go/internal/modload/build.go
src/cmd/go/internal/modload/buildlist.go
src/cmd/go/internal/modload/list.go