Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,833 for mod$ (0.04 sec)

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

    [short] skip
    
    # list {{.Dir}} shows main module and go.mod but not not-yet-downloaded dependency dir.
    go list -mod=mod -m -f '{{.Path}} {{.Main}} {{.GoMod}} {{.Dir}}' all
    stdout '^x true .*[\\/]src[\\/]go.mod .*[\\/]src$'
    stdout '^rsc.io/quote false .*[\\/]v1.5.2.mod $'
    
    # list {{.Dir}} shows dependency after download (and go list without -m downloads it)
    go list -mod=mod -f '{{.Dir}}' rsc.io/quote
    stdout '.*mod[\\/]rsc.io[\\/]quote@v1.5.2$'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 18:16:28 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. go.sum

    github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
    github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
    github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
    github.com/klauspost/compress v1.14.4/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk=
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:53:53 UTC 2024
    - 85.8K bytes
    - Viewed (0)
Back to top