Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,267 for TXT (0.02 sec)

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

    cp correct_modules.txt vendor/modules.txt
    go build ./vendor/foo.com/internal/bar/a
    
    # For go versions < 1.23, vendored packages that are missing in modules.txt should not result in an error.
    cp 122go.mod go.mod
    
    cp incorrect_modules.txt vendor/modules.txt
    
    # go version < 1.23 and incorrect_modules is missing foo.com/internal/bar/b so the build should not fail
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test_cache_inputs.txt

    exec ./mkold$GOEXE 50s testcache/script.sh
    go test testcache -run=Exec
    ! stdout '\(cached\)'
    go test testcache -run=Exec
    stdout '\(cached\)'
    
    -- testcache/file.txt --
    xx
    -- 4x.txt --
    xxxx
    -- 6x.txt --
    xxxxxx
    -- 2y.txt --
    yy
    -- $WORK/external.txt --
    This file is outside of GOPATH.
    -- testcache/script.sh --
    #!/bin/sh
    exit 0
    -- testcache/testcache_test.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 22:23:53 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_vendor_embed.txt

    go mod vendor
    cmp vendor/example.com/a/samedir_embed.txt a/samedir_embed.txt
    cmp vendor/example.com/a/subdir/embed.txt a/subdir/embed.txt
    cmp vendor/example.com/a/subdir/test/embed.txt a/subdir/test/embed.txt
    cmp vendor/example.com/a/subdir/test/xtest/embed.txt a/subdir/test/xtest/embed.txt
    
    cd broken_no_matching_files
    ! go mod vendor
    stderr '^go: resolving embeds in example.com/brokendep: pattern foo.txt: no matching files found$'
    go mod vendor -e
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:14:55 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/install_modcacherw_issue64282.txt

    	# of a directory within the module cache.
    cp $WORK/extraneous.txt $GOPATH/pkg/mod/example.com/printversion@v0.1.0/extraneous_file.go
    go clean -modcache
    
    
    ! go install -unknownflag -tags -modcacherw example.com/printversion@v0.1.0
    stderr '^flag provided but not defined: -unknownflag$'
    cp $WORK/extraneous.txt $GOPATH/pkg/mod/example.com/printversion@v0.1.0/extraneous_file.go
    go clean -modcache
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 29 17:53:43 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_vendor_auto.txt

    # between the go.mod file and vendor/modules.txt.
    # A 'go 1.13' vendor/modules.txt file is not usually sufficient
    # to pass those checks.
    go mod edit -go=1.14
    
    ! go list -f {{.Dir}} -tags tools all
    stderr '^go: inconsistent vendoring in '$WORK[/\\]auto':$'
    stderr '^\texample.com/printversion@v1.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt'
    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_vendor_goversion.txt

    # https://golang.org/issue/36876: As of Go 1.17, vendor/modules.txt should
    # indicate the language version used by each dependency.
    
    [short] skip
    
    # Control case: without a vendor directory, need117 builds and bad114 doesn't.
    
    go build example.net/need117
    ! go build example.net/bad114
    stderr '^bad114[/\\]bad114.go:15:2: duplicate method .?Y.?( .*)?$'
    
    
    # With a vendor/modules.txt lacking language versions, the world is topsy-turvy,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 21:29:39 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. requirements.txt

    -e .[all]
    -r requirements-tests.txt
    -r requirements-docs.txt
    pre-commit >=2.17.0,<4.0.0
    # For generating screenshots
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Apr 29 23:48:42 UTC 2024
    - 128 bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/work_errors_pos.txt

    cp go.work.firsterrlisted.txt go.work
    ! go list
    stderr '^go.work:1: unknown godebug "baz"$'
    
    -- foo/go.mod --
    module example.com/foo
    -- go.work.repeated.txt --
    
    
    use foo
    use foo
    -- go.work.badgodebug.txt --
    
    
    godebug foo=1
    -- go.work.unparsable.txt --
    
    
    
    
    notadirective
    -- go.work.firstlineerr.txt --
    godebug bar=1
    -- go.work.firsterrlisted.txt --
    godebug baz=1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 926 bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_gomodcache_vendor.txt

    # 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
    require rsc.io/sampler v1.3.0
    
    -- main.go --
    package main
    
    import (
        "fmt"
        "rsc.io/sampler"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 17:19:18 UTC 2024
    - 568 bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/generate_workspace.txt

    [short] skip
    
    go generate ./mod
    cmp ./mod/got.txt want.txt
    
    -- go.work --
    go 1.22
    
    use ./mod
    -- mod/go.mod --
    module example.com/mod
    -- mod/gen.go --
    //go:generate go run gen.go got.txt
    
    package main
    
    import "os"
    
    func main() {
        outfile := os.Args[1]
        os.WriteFile(outfile, []byte("Hello World!\n"), 0644)
    }
    -- want.txt --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 29 19:39:24 UTC 2024
    - 437 bytes
    - Viewed (0)
Back to top