- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 88 for modcache (0.13 sec)
-
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_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/internal/clean/clean.go
base.Error(err) } } } } if cleanModcache { if cfg.GOMODCACHE == "" { base.Fatalf("go: cannot clean -modcache without a module cache") } if cfg.BuildN || cfg.BuildX { sh.ShowCmd("", "rm -rf %s", cfg.GOMODCACHE) } if !cfg.BuildN { if err := modfetch.RemoveAll(cfg.GOMODCACHE); err != nil { base.Error(err) } } } if cleanFuzzcache {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 10.3K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_list.txt
# downloaded dependencies are read-only exists -readonly $GOPATH/pkg/mod/rsc.io/quote@v1.5.2 exists -readonly $GOPATH/pkg/mod/rsc.io/quote@v1.5.2/buggy # go clean -modcache can delete read-only dependencies go clean -modcache ! exists $GOPATH/pkg/mod/rsc.io/quote@v1.5.2 # list {{.Dir}} shows replaced directories cp go.mod2 go.mod go list -mod=mod -f {{.Dir}} rsc.io/quote
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 08 18:16:28 UTC 2024 - 2.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_sumdb_golang.txt
cp go.sum saved.sum # Download from proxy.golang.org with go.sum entry already. # Use 'go list' instead of 'go get' since the latter may download extra go.mod # files not listed in go.sum. go clean -modcache env GOSUMDB=sum.golang.org env GOPROXY=https://proxy.golang.org,direct go list -x -m all # Download go.mod files. ! stderr github stderr proxy.golang.org/rsc.io/quote ! stderr sum.golang.org/tile
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 17 18:25:37 UTC 2023 - 2K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_get_issue47650.txt
# Explicitly requesting that same version should succeed, fetching additional # history for the requested commit as needed in order to validate the # pseudo-version base. go clean -modcache cp go.mod.orig go.mod go get -x vcs-test.golang.org/git/issue47650.git/cmd/issue47650@v0.1.1-0.20210811175200-21535ef346c3 stderr '^go: added vcs-test.golang.org/git/issue47650.git v0.1.1-0.20210811175200-21535ef346c3$'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 11 22:29:11 UTC 2023 - 1.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/reuse_git.txt
cp stdout all.json # clean the module cache, make sure that makes go mod download re-run git fetch, clean again go clean -modcache go mod download -x -json vcs-test.golang.org/git/hello.git@latest stderr 'git( .*)* fetch' go clean -modcache # reuse go mod download vcstest/hello result go mod download -reuse=hello.json -x -json vcs-test.golang.org/git/hello.git@latest ! stderr 'git( .*)* fetch'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 22:10:38 UTC 2024 - 15.5K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/codehost/git_test.go
// Redirect the module cache to a fresh directory to avoid crosstalk, and make // it read/write so that the test can still clean it up easily when done. cfg.GOMODCACHE = filepath.Join(dir, "modcache") cfg.ModCacheRW = true m.Run() return nil } func testContext(t testing.TB) context.Context { w := newTestWriter(t) return cfg.WithBuildXWriter(context.Background(), w) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 19:46:23 UTC 2023 - 18.9K bytes - Viewed (0) -
src/cmd/dist/build.go
// go tool may complain. os.Setenv("GOPATH", pathf("%s/pkg/obj/gopath", goroot)) // Set GOPROXY=off to avoid downloading modules to the modcache in // the GOPATH set above to be inside GOROOT. The modcache is read // only so if we downloaded to the modcache, we'd create readonly // files in GOROOT, which is undesirable. See #67463) os.Setenv("GOPROXY", "off")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 18:34:40 UTC 2024 - 54K bytes - Viewed (0)