]> Cypherpunks repositories - gostls13.git/commit
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)
committerRuss Cox <rsc@golang.org>
Tue, 21 Aug 2018 02:41:55 +0000 (02:41 +0000)
commit46033d7639cb1399029b99bb0cdc53d2b8f4bd08
tree4c5d5b8c3cc7f1aa731ae84268fdde5f5bece399
parentdc272a4393dc2ba5f54f9cc37670d5581b6e774f
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>
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