]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/modfetch: export new func Unzip
authorRuss Cox <rsc@golang.org>
Sun, 17 Nov 2024 21:54:11 +0000 (16:54 -0500)
committerGopher Robot <gobot@golang.org>
Tue, 19 Nov 2024 21:52:30 +0000 (21:52 +0000)
commite33f7c42b084182a3a88ef79857e33c11627159a
tree6e58b6e576752b2c7a48a4db96f21fac0503affa
parent9935dd99da40eea305685a32dbaebc4b9273593b
cmd/go/internal/modfetch: export new func Unzip

Add new func Unzip, which is Download (= download+unzip)
without the download. This will be used for unpacking the
FIPS module zips, which are part of the Go distribution,
not downloaded.

Change-Id: Ia04f8c376db8cb1cf27acb5567dd256afb10f410
Reviewed-on: https://go-review.googlesource.com/c/go/+/629200
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/go/internal/modfetch/fetch.go