]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.11] cmd/go: add go.sum entries to go mod download -json output
authorRuss Cox <rsc@golang.org>
Sat, 18 Aug 2018 18:16:26 +0000 (14:16 -0400)
committerIan Lance Taylor <iant@golang.org>
Wed, 22 Aug 2018 15:50:54 +0000 (15:50 +0000)
commite1ad7cdf4f976e2985d1ea8cf36c97850c6cfd67
treebb016c6f65de79963077672b92a37e0e71b15ae6
parent811b0c1bf5b4034d32881ea090e0548444a9c14c
[release-branch.go1.11] cmd/go: add go.sum entries to go mod download -json output

Clients of 'go mod download', particularly proxies, may need
the hashes of the content they downloaded, for checking against
go.sum entries or recording elsewhere.

Change-Id: Ic36c882cefc540678e1bc5a3dae1e865d181aa69
Reviewed-on: https://go-review.googlesource.com/129802
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Andrew Bonventre <andybons@golang.org>
(cherry picked from commit 46033d7639cb1399029b99bb0cdc53d2b8f4bd08)
Reviewed-on: https://go-review.googlesource.com/130615
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/go/internal/modcmd/download.go
src/cmd/go/internal/modfetch/cache.go
src/cmd/go/internal/modfetch/fetch.go
src/cmd/go/testdata/script/mod_download.txt