Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 4,310 for mod$ (0.04 sec)

  1. src/cmd/go/testdata/script/mod_tidy_compat_irrelevant.txt

    cp go.mod.orig go.mod
    go mod tidy -compat=1.17
    cmp go.mod go.mod.orig
    
    # Make sure that -diff behaves the same as tidy.
    [exec:patch] cp go.mod.orig go.mod
    [exec:patch] rm go.sum
    [exec:patch] go mod tidy -compat=1.17 -diff
    [exec:patch] ! stdout .
    
    go list -deps -test -f $MODFMT all
    cmp stdout out-117.txt
    
    go mod edit -go=1.16
    ! go list -deps -test -f $MODFMT all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/NormalizingExcludeFactoryTest.groovy

            moduleSet("mod", "mod2")                                            | moduleSet("mod3", "mod4")                   | moduleSet("mod", "mod2", "mod3", "mod4")
            moduleIdSet(["org", "foo"], ["org", "bar"])                         | moduleIdSet(["org", "baz"], ["org", "quz"]) | moduleIdSet(["org", "foo"], ["org", "bar"], ["org", "baz"], ["org", "quz"])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 17K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/cover_build_pkg_select.txt

    grep 'mode: set' $WORK/covdata/out.txt
    grep 'mod.example/main/main.go:' $WORK/covdata/out.txt
    grep 'mod.example/sub/sub.go:' $WORK/covdata/out.txt
    ! grep 'rsc.io' $WORK/covdata/out.txt
    
    rm $WORK/covdata
    rm $WORK/modex.exe
    
    #-------------------------------------------
    
    # Repeat the build but with -coverpkg=all
    
    go build -mod=mod -coverpkg=all -o $WORK/modex.exe -cover mod.example/main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:50:58 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_go_version_missing.txt

    go list -mod=mod all
    ! stdout '^example.com/testdep$'
    cmp stdout list-1.txt
    cmpenv go.mod go.mod.untidy
    
    go mod tidy
    cmpenv go.mod go.mod.tidy
    
    # On the other hand, if we jump straight to 'go mod tidy',
    # the requirements remain tidy from the start.
    
    cp go.mod.orig go.mod
    go mod tidy
    cmpenv go.mod go.mod.tidy
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 22 16:11:33 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_vendor_auto.txt

    ! go list -m all
    stderr 'go: can''t compute ''all'' using the vendor directory\n\t\(Use -mod=mod or -mod=readonly to bypass.\)'
    
    ! go list -m -f '{{.Dir}}' all
    stderr 'go: can''t compute ''all'' using the vendor directory\n\t\(Use -mod=mod or -mod=readonly to bypass.\)'
    
    # An explicit -mod=mod should force the vendor directory to be ignored.
    env GOFLAGS=-mod=mod
    
    go list -f {{.Dir}} -tags tools -e all
    stdout '^'$WORK'[/\\]auto$'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_tidy_compat_implicit.txt

    go mod tidy -compat=1.17
    ! stderr .
    cmp go.mod go.mod.orig
    
    # Make sure that -diff behaves the same as tidy.
    [exec:patch] mv go.mod go.mod.tidyResult
    [exec:patch] mv go.sum go.sum.tidyResult
    [exec:patch] cp go.mod.orig go.mod
    [exec:patch] ! go mod tidy -compat=1.17 -diff
    [exec:patch] cp stdout diff.patch
    [exec:patch] exec patch -p1 -i diff.patch
    [exec:patch] go mod tidy -compat=1.17 -diff
    [exec:patch] ! stdout .
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modload/vendor.go

    				vendorPkgModule[f[0]] = mod
    
    				// Since this module provides a package for the build, we know that it
    				// is in the build list and is the selected version of its path.
    				// If this information is new, record it.
    				if v, ok := vendorVersion[mod.Path]; !ok || gover.ModCompare(mod.Path, v, mod.Version) < 0 {
    					vendorList = append(vendorList, mod)
    					vendorVersion[mod.Path] = mod.Version
    				}
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 24 18:09:22 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_tidy_quote.txt

    # Check that mod tidy does not introduce repeated
    # require statements when input go.mod has quoted requirements.
    env GO111MODULE=on
    
    go mod tidy
    grep -count=1 rsc.io/quote go.mod
    
    cp go.mod2 go.mod
    go mod tidy
    grep -count=1 rsc.io/quote go.mod
    
    
    -- go.mod --
    module x
    
    -- x.go --
    package x
    import "rsc.io/quote"
    func main() { _ = quote.Hello }
    
    -- go.mod2 --
    module x
    require (
    	"rsc.io/sampler" v1.3.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 01 00:35:17 UTC 2018
    - 429 bytes
    - Viewed (0)
  9. src/cmd/go/internal/modfetch/fetch.go

    	}
    	goSum.m[mod] = append(goSum.m[mod], h)
    }
    
    // checkSumDB checks the mod, h pair against the Go checksum database.
    // It calls base.Fatalf if the hash is to be rejected.
    func checkSumDB(mod module.Version, h string) error {
    	modWithoutSuffix := mod
    	noun := "module"
    	if before, found := strings.CutSuffix(mod.Version, "/go.mod"); found {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_goline.txt

    env TESTGO_VERSION=go1.99
    
    ! go list -f '{{.Module.GoVersion}}'
    stderr 'go: updates to go.mod needed'
    stderr 'go mod tidy'
    
    go mod tidy
    cat go.mod
    go list -f '{{.Module.GoVersion}}'
    stdout 1.22
    
    # Adding a@v1.0.01 should upgrade to Go 1.23rc1.
    cp go.mod go.mod1
    go get example.com/a@v1.0.1
    stderr '^go: upgraded go 1.22 => 1.23rc1\ngo: upgraded example.com/a v1.0.0 => v1.0.1\ngo: upgraded example.com/b v1.0.0 => v1.0.1$'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top