Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 5,215 for TXT (0.02 sec)

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

    # -modcacherw is supported on 'go mod' subcommands.
    go clean -modcache
    go mod download -modcacherw rsc.io/quote
    cp $WORK/extraneous.txt $GOPATH/pkg/mod/rsc.io/quote@v1.5.2/extraneous_file.go
    ! go mod verify
    [!root] ! cp $WORK/extraneous.txt $GOPATH/pkg/mod/rsc.io/quote@v1.5.2/go.mod
    
    
    -- $WORK/extraneous.txt --
    module oops
    -- go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 2K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/vcstest/git/gitrepo1.txt

    echo 'intermediate'
    cp stdout foo.txt
    git add foo.txt
    git commit -a -m 'intermediate'
    
    at 2018-04-17T16:00:32-04:00
    echo 'another'
    cp stdout another.txt
    git add another.txt
    git commit -a -m 'another'
    git tag v2.0.2
    
    at 2018-04-17T16:16:52-04:00
    git checkout master
    git branch v3
    git checkout v3
    mkdir v3/sub/dir
    echo 'v3/sub/dir/file'
    cp stdout v3/sub/dir/file.txt
    git add v3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 15:36:24 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/work_vendor_empty.txt

    go work vendor
    stderr 'go: no dependencies to vendor'
    ! exists vendor/modules.txt
    ! go list .
    stderr 'go: no modules were found in the current workspace'
    mkdir vendor
    mv bad_modules.txt vendor/modules.txt
    ! go list .
    stderr 'go: no modules were found in the current workspace'
    
    -- bad_modules.txt --
    # a/module
    a/package
    -- go.work --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 24 18:09:22 UTC 2023
    - 344 bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/devnull.txt

    # Issue 28549: go test -c -o /dev/null should not overwrite /dev/null when run as root.
    cd x
    cmp $devnull $WORK/empty.txt
    go test -o=$devnull -c
    ! exists x.test$GOEXE
    cmp $devnull $WORK/empty.txt
    
    # Issue 12407: go build -o /dev/null should succeed.
    cd ..
    go build -o $devnull y
    cmp $devnull $WORK/empty.txt
    
    -- x/x_test.go --
    package x_test
    import (
        "testing"
    )
    func TestNUL(t *testing.T) {
    }
    -- y/y.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 18 19:03:27 UTC 2019
    - 525 bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/embed_brackets.txt

    # issue 53314
    [GOOS:windows] skip
    cd [pkg]
    go build
    
    -- [pkg]/go.mod --
    module m
    
    go 1.19
    -- [pkg]/x.go --
    package p
    
    import _ "embed"
    
    //go:embed t.txt
    var S string
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 186 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_test_cached.txt

    go test -run=ReadTestdata .
    ! stdout '(cached)'
    go test -run=ReadTestdata .
    stdout '(cached)'
    cp testdata/bar.txt testdata/foo.txt
    go test -run=ReadTestdata .
    ! stdout '(cached)'
    
    -- go.mod --
    module golang.org/issue/29111/foo
    
    -- foo.go --
    package foo
    
    -- testdata/foo.txt --
    foo
    -- testdata/bar.txt --
    bar
    
    -- foo_test.go --
    package foo_test
    
    import (
    	"os"
    	"path/filepath"
    	"testing"
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_vendor_unused.txt

    # Auxiliary test for inclusion of otherwise-unused replacements in
    # vendor/modules.txt for golang.org/issue/33848.
    # We need metadata about replacements in order to verify that modules.txt
    # remains in sync with the main module's go.mod file.
    
    env GO111MODULE=on
    
    go mod vendor
    cmp go1.14-modules.txt vendor/modules.txt
    
    -- go.mod --
    module example.com/foo
    go 1.14
    
    require (
    	example.com/a v0.1.0
    )
    
    replace (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 09 18:12:31 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/version_buildvcs_fossil.txt

    # An untracked file is shown as modified, even if it isn't part of the build.
    cp ../../outside/empty.txt .
    go install
    go version -m $GOBIN/a$GOEXE
    stdout '^\tbuild\tvcs=fossil\n'
    stdout '^\tbuild\tvcs.modified=true$'
    rm empty.txt
    rm $GOBIN/a$GOEXE
    
    # An edited file is shown as modified, even if it isn't part of the build.
    cp ../../outside/empty.txt ../README
    go install
    go version -m $GOBIN/a$GOEXE
    stdout '^\tbuild\tvcs=fossil\n'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 03 15:33:59 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/list_symlink_dotdotdot.txt

    cd sym
    go list ./...
    cmp stdout $WORK/gopath/src/want_list.txt
    -- tree/go.mod --
    module example.com/tree
    
    go 1.20
    -- tree/tree.go --
    package tree
    -- tree/branch/branch.go --
    package branch
    -- dir2/squirrel.go --
    package squirrel
    -- want_list.txt --
    example.com/tree
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 31 20:33:05 UTC 2023
    - 463 bytes
    - Viewed (0)
  10. 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)
Back to top