...

Text file src/cmd/go/testdata/script/mod_stale.txt

Documentation: cmd/go/testdata/script

     1[short] skip
     2
     3env GOCACHE=$WORK/cache
     4go list -f '{{.Stale}}' .
     5stdout true
     6go install .
     7go list -f '{{.Stale}}' .
     8stdout false
     9
    10-- go.mod --
    11module example.com/mod
    12
    13go 1.20
    14-- m.go --
    15package m

View as plain text