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

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

View as plain text