- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 149 for modcache (0.14 sec)
-
src/cmd/go/testdata/script/mod_gomodcache.txt
# Test GOMODCACHE env GO111MODULE=on # Explicitly set GOMODCACHE env GOMODCACHE=$WORK/modcache go env GOMODCACHE stdout $WORK[/\\]modcache go get rsc.io/quote@v1.0.0 exists $WORK/modcache/cache/download/rsc.io/quote/@v/v1.0.0.info grep '{"Version":"v1.0.0","Time":"2018-02-14T00:45:20Z"}' $WORK/modcache/cache/download/rsc.io/quote/@v/v1.0.0.info # Ensure GOMODCACHE doesn't affect location of sumdb, but $GOMODCACHE/cache/download/sumdb is still written
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 2.4K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_clean_cache.txt
# '-n' should print commands but not actually execute them. go clean -modcache -n stdout '^rm -rf .*pkg.mod$' exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.0.info exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.0.mod exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.0.zip # 'go clean -modcache' should actually delete the files. go clean -modcache ! exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.0.info
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 30 17:22:49 UTC 2022 - 1.9K bytes - Viewed (0) -
src/crypto/ed25519/ed25519vectors_test.go
testenv.MustHaveExternalNetwork(t) // Create a temp dir and modcache subdir. d := t.TempDir() // Create a spot for the modcache. modcache := filepath.Join(d, "modcache") if err := os.Mkdir(modcache, 0777); err != nil { t.Fatal(err) } t.Setenv("GO111MODULE", "on") t.Setenv("GOMODCACHE", modcache) // Download the JSON test file from the GOPROXY with `go mod download`,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 25 14:52:51 UTC 2022 - 3.7K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_download_insecure_redirect.txt
# insecure host env GOINSECURE=vcs-test.golang.org go clean -modcache go mod download vcs-test.golang.org/insecure/go/insecure@latest # insecure glob host env GOINSECURE=*.golang.org go clean -modcache go mod download vcs-test.golang.org/insecure/go/insecure@latest # insecure multiple host env GOINSECURE=somewhere-else.com,*.golang.org go clean -modcache go mod download vcs-test.golang.org/insecure/go/insecure@latest
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 24 15:54:04 UTC 2023 - 934 bytes - Viewed (0) -
src/cmd/go/testdata/script/install_modcacherw_issue64282.txt
go clean -modcache # Also try it with a 'go install' that succeeds. # (But skip in short mode, because linking a binary is expensive.) [!short] go install -modcacherw example.com/printversion@v0.1.0 [!short] cp $WORK/extraneous.txt $GOPATH/pkg/mod/example.com/printversion@v0.1.0/extraneous_file.go [!short] go clean -modcache # The flag should also be applied if given in GOFLAGS
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 29 17:53:43 UTC 2024 - 1.8K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_cache_rw.txt
! exists $GOPATH/pkg/mod/rsc.io/quote@v1.5.2/extraneous_file.go # Repeat part of the test with 'go mod download' instead of 'go get' to verify # -modcacherw is supported on 'go mod' subcommands. go clean -modcache go mod download -modcacherw rsc.io/quote cp $WORK/extraneous.txt $GOPATH/pkg/mod/rsc.io/quote@v1.5.2/extraneous_file.go ! go mod verify [!root] ! cp $WORK/extraneous.txt $GOPATH/pkg/mod/rsc.io/quote@v1.5.2/go.mod
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 2K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_nomod.txt
# commands that load the package in the current directory fail ! go build ! go fmt ! go generate ! go get ! go install ! go list ! go run ! go test ! go vet # clean succeeds, even with -modcache go clean -modcache # doc succeeds for standard library go doc unsafe # env succeeds go env # tool succeeds go tool -n test2json # version succeeds go version -- x.mod -- module m
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 29 18:57:53 UTC 2018 - 644 bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_gomodcache_vendor.txt
# This test verifies that GOMODCACHE does not affect whether checksums are embedded # with vendored files. # See issue #46400 [short] skip 'builds and links a binary twice' go mod tidy go mod vendor go build -mod=vendor go version -m example$GOEXE cp stdout version-m.txt env GOMODCACHE=$WORK${/}modcache go build -mod=vendor go version -m example$GOEXE cmp stdout version-m.txt -- go.mod -- module example go 1.22
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 17:19:18 UTC 2024 - 568 bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_list_issue61423.txt
[GOOS:windows] env GOPROXY=file:///$WORK/mod1/cache/download [!GOOS:windows] env GOPROXY=file://$WORK/mod1/cache/download env GOMODCACHE=$WORK/modcache2 # If we resolve the "latest" version query using a proxy, # it is only going to have Git origin information about the one # commit — not the other tags that would go into resolving # the underlying version list.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 22:43:50 UTC 2023 - 3.3K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_GOTMPDIR.txt
# Set GOCACHE to a clean directory to ensure that 'go build' has work to report. [!GOOS:windows] env GOCACHE=$WORK/gocache [GOOS:windows] env GOCACHE=$WORK\gocache # 'go build' should use GOTMPDIR if set. [!GOOS:windows] env GOTMPDIR=$WORK/my-favorite-tmpdir [GOOS:windows] env GOTMPDIR=$WORK\my-favorite-tmpdir mkdir $GOTMPDIR go build -x hello.go stderr ^WORK=.*my-favorite-tmpdir
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 1.4K bytes - Viewed (0)