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

     1  go work use -r .
     2  cmp go.work go.work.want
     3  
     4  -- go.work --
     5  go 1.18
     6  
     7  use (
     8  	.
     9  	./sub
    10  	./sub/dir/deleted
    11  )
    12  -- go.work.want --
    13  go 1.18
    14  
    15  use ./sub/dir
    16  -- sub/README.txt --
    17  A go.mod file has been deleted from this directory.
    18  In addition, the entire subdirectory sub/dir/deleted
    19  has been deleted, along with sub/dir/deleted/go.mod.
    20  -- sub/dir/go.mod --
    21  module example/sub/dir
    22  go 1.18
    23  

View as plain text