Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 4,310 for mod$ (0.18 sec)

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

    # Test go mod download, why, and graph work in workspace mode.
    # TODO(bcmills): clarify the interaction with #44435
    
    go mod download rsc.io/quote
    exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.2.info
    exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.2.mod
    exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.2.zip
    ! 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: Fri Jun 02 23:07:08 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_tidy_compat.txt

    #
    # That go.mod file happens not to affect the final 1.16 module graph anyway,
    # so the pruned graph is equivalent to the unpruned one.
    
    cp go.mod go.mod.orig
    go mod tidy
    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 -diff
    [exec:patch] cp stdout diff.patch
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_tidy_diff.txt

    ! exists go.mod
    exists go.sum
    ! go mod tidy -diff
    ! exists go.mod
    ! stdout 'diff current/go.mod tidy/go.mod'
    ! stdout 'diff current/go.sum tidy/go.sum'
    stderr 'go.mod file not found'
    
    # Existing go.mod and missing go.sum should display diff.
    go mod init example.com
    go mod tidy
    rm go.sum
    exists go.mod
    ! exists go.sum
    ! go mod tidy -diff
    ! exists go.sum
    ! stdout 'diff current/go.mod tidy/go.mod'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_download.txt

    cmp go.mod.update go.mod
    cmp go.sum.update go.sum
    cp go.mod.orig go.mod
    rm go.sum
    
    # download with arguments (even "all") does update go.mod and go.sum.
    go mod download rsc.io/sampler
    cmp go.mod.update go.mod
    grep '^rsc.io/sampler v1.3.0 ' go.sum
    cp go.mod.orig go.mod
    rm go.sum
    
    go mod download all
    cmp go.mod.update go.mod
    grep '^rsc.io/sampler v1.3.0 ' go.sum
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 04 20:42:35 UTC 2021
    - 8.5K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modload/init.go

    	// TODO(#40775): commands should pass in the module mode as an option
    	// to modload functions instead of relying on an implicit setting
    	// based on command name.
    	switch cfg.CmdName {
    	case "get", "mod download", "mod init", "mod tidy", "work sync":
    		// These commands are intended to update go.mod and go.sum.
    		cfg.BuildMod = "mod"
    		return
    	case "mod graph", "mod verify", "mod why":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_tidy_compat_incompatible.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/testdata/script/mod_invalid_version.txt

    # but can appear in the main go.mod file anyway and should be resolved.
    cp go.mod.orig go.mod
    go mod edit -require golang.org/x/text@14c0d48ead0c
    cd outside
    ! go list -m golang.org/x/text
    stderr 'go: example.com@v0.0.0 \(replaced by \./\.\.\): parsing ..[/\\]go.mod: '$WORK'[/\\]gopath[/\\]src[/\\]go.mod:5: require golang.org/x/text: version "14c0d48ead0c" invalid: must be of the form v1.2.3'
    cd ..
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 02 02:54:20 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_permissions.txt

    # go.mod files should be preserved when overwriting them.
    
    env GO111MODULE=on
    [short] skip
    
    # Skip platforms that do not have Unix-style file permissions.
    [GOOS:windows] skip
    [GOOS:plan9] skip
    
    chmod 0640 go.mod
    chmod 0604 go.sum
    go mod edit -module=golang.org/issue/34634
    
    go get
    cmp go.mod go.mod.want
    cmp go.sum go.sum.want
    
    go run .
    stdout 'go.mod: 0640'
    stdout 'go.sum: 0604'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_replace_readonly.txt

    # Check that with -mod=readonly, when we load a package in a module that is
    # replaced but not required, we emit an error with the command to add the
    # requirement.
    # Verifies golang.org/issue/41416, golang.org/issue/41577.
    cp go.mod go.mod.orig
    
    # Replace all versions of a module without requiring it.
    # With -mod=mod, we'd add a requirement for a "zero" pseudo-version, but we
    # can't in readonly mode, since its go.mod may alter the build list.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/IntersectionsTest.groovy

            anyOf(ivy("org", "mod", artifact("mod"), "exact"), ivy("org", "mod2", artifact("mod"), "exact"))               | group("org")                                                                                                          | null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 16.3K bytes
    - Viewed (0)
Back to top