]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/go/internal/modload: remove the needSum argument from the fetch function
authorBryan C. Mills <bcmills@google.com>
Fri, 7 Oct 2022 18:05:56 +0000 (14:05 -0400)
committerGopher Robot <gobot@golang.org>
Fri, 7 Oct 2022 18:28:14 +0000 (18:28 +0000)
commit9be09916d9209a02308d553cfbbb7ff1dc6593dd
tree7662689b62a8e7a52e1e8cc006a9e0871b425940
parentc7cc2b94c63af610a29b1b48cfbfb87cb8abf05b
cmd/go/internal/modload: remove the needSum argument from the fetch function

With moduleHasRootPackage eliminated in the previous CL, needSum is
now invariantly true at all call sites.

Change-Id: I00e44117e545ea0d3de82604dfa018b013ab8f0c
Reviewed-on: https://go-review.googlesource.com/c/go/+/440296
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/go/internal/modload/build.go
src/cmd/go/internal/modload/import.go
src/cmd/go/internal/modload/query.go
src/cmd/go/internal/modload/search.go