- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 4,310 for mod$ (0.09 sec)
-
src/cmd/go/testdata/script/mod_clean_cache.txt
# 'mod download' should download the module to the cache. go mod download rsc.io/quote@v1.5.0 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 # '-n' should print commands but not actually execute them. go clean -modcache -n stdout '^rm -rf .*pkg.mod$'
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/cmd/go/testdata/script/work.txt
go list all # all includes both modules stdout 'example.com/a' stdout 'example.com/b' # -mod can only be set to readonly in workspace mode go list -mod=readonly all ! go list -mod=mod all stderr '^go: -mod may only be set to readonly or vendor when in workspace mode' env GOWORK=off go list -mod=mod all env GOWORK= # Test that duplicates in the use list return an error cp go.work go.work.backup cp go.work.dup go.work
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 18:36:30 UTC 2024 - 2.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/vendor_outside_module.txt
go build -x -mod=mod my-module/vendor/example.com/another-module/foo/bar/baz.go go build -x -mod=readonly my-module/vendor/example.com/another-module/foo/bar/baz.go go build -x -mod=vendor my-module/vendor/example.com/another-module/foo/bar/baz.go # baz_with_outside_dep.go (with a non-std dependency) works with -mod=mod # but not with -mod=readonly and -mod=vendor.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 10 20:24:57 UTC 2022 - 1.2K bytes - Viewed (0) -
src/cmd/go/testdata/script/work_disablevendor.txt
# Test that mod=vendor is disabled in workspace mode, even # with a single workspace module. cd workspace # Base case: ensure the module would default to mod=vendor # outside of workspace mode. env GOWORK=off go list -f '{{.Dir}}' example.com/dep stdout $GOPATH[\\/]src[\\/]workspace[\\/]vendor[\\/]example.com[\\/]dep # Test case: endure the module does not enter mod=vendor outside # worspace mode. env GOWORK=''
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 13 20:22:29 UTC 2022 - 1K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_download_partial.txt
go get -modcacherw exists $GOPATH/pkg/mod/rsc.io/quote@v1.5.2/go.mod # 'go mod verify' should fail if we delete a file. go mod verify rm $GOPATH/pkg/mod/rsc.io/quote@v1.5.2/go.mod ! go mod verify # Create a .partial file to simulate an failure extracting the zip file. cp empty $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.2.partial # 'go mod verify' should not fail, since the module hasn't been completely
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 10 19:08:19 UTC 2022 - 2.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_list_deprecated_replace.txt
cp go.mod.allreplaced go.mod go list -m -u -f '{{.Path}}@{{.Version}} <{{.Deprecated}}>{{with .Replace}} => {{.Path}}@{{.Version}} <{{.Deprecated}}>{{end}}' all stdout '^example.com/deprecated/a@v1.0.0 <> => example.com/deprecated/b@v1.0.0 <in example.com/deprecated/b@v1.9.0>$' # When one version is replaced, we should see a deprecation message. cp go.mod.onereplaced go.mod
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 09 18:20:48 UTC 2021 - 2.3K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_tidy_issue60313.txt
# Regression test for https://go.dev/issue/60313: 'go mod tidy' did not preserve # dependencies needed to prevent 'ambiguous import' errors in external test # dependencies. cp go.mod go.mod.orig go mod tidy cmp go.mod go.mod.orig -- go.mod -- module example go 1.21 require ( example.net/a v0.1.0 example.net/b v0.1.0 ) require example.net/outer/inner v0.1.0 // indirect replace ( example.net/a v0.1.0 => ./a
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 12 19:42:01 UTC 2023 - 1.1K bytes - Viewed (0) -
docs/debugging/s3-verify/go.sum
golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon May 13 17:59:52 UTC 2024 - 3.2K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_query_exclude.txt
cp go.exclude.mod go.exclude.mod.orig ! go get -modfile=go.exclude.mod rsc.io/quote@v1.5.0 stderr '^go: rsc.io/quote@v1.5.0: excluded by go.mod$' # get non-excluded version cp go.exclude.mod.orig go.exclude.mod go get -modfile=go.exclude.mod rsc.io/quote@v1.5.1 stderr 'rsc.io/quote v1.5.1' # get query with excluded version cp go.exclude.mod.orig go.exclude.mod go get -modfile=go.exclude.mod rsc.io/quote@>=v1.5
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 28 17:19:14 UTC 2021 - 1.1K bytes - Viewed (0) -
src/cmd/go/internal/modload/modfile.go
// workspace mode, or the workspace's directory in workspace mode. func Replacement(mod module.Version) module.Version { r, foundModRoot, _ := replacementFrom(mod) return canonicalizeReplacePath(r, foundModRoot) } // replacementFrom returns the replacement for mod, if any, the modroot of the replacement if it appeared in a go.mod,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 26 17:53:40 UTC 2023 - 26.7K bytes - Viewed (0)