Skip to content

Commit 33071fb

Browse files
committed
internal/robustio: move robustio
Moves gopls/internal/robustio to internal/robustio. Allows usage by packages in x/tools outside of gopls. Change-Id: I71743c3a91458b77f12606b743b5de7e23cc5051 Reviewed-on: https://go-review.googlesource.com/c/tools/+/460116 TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Alan Donovan <[email protected]> Run-TryBot: Tim King <[email protected]> gopls-CI: kokoro <[email protected]>
1 parent b01e7a4 commit 33071fb

12 files changed

+4
-4
lines changed

gopls/internal/lsp/fake/sandbox.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import (
1313
"path/filepath"
1414
"strings"
1515

16-
"golang.org/x/tools/gopls/internal/robustio"
1716
"golang.org/x/tools/internal/gocommand"
17+
"golang.org/x/tools/internal/robustio"
1818
"golang.org/x/tools/internal/testenv"
1919
"golang.org/x/tools/txtar"
2020
)

gopls/internal/lsp/fake/workdir.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ import (
1919
"time"
2020

2121
"golang.org/x/tools/gopls/internal/lsp/protocol"
22-
"golang.org/x/tools/gopls/internal/robustio"
2322
"golang.org/x/tools/gopls/internal/span"
23+
"golang.org/x/tools/internal/robustio"
2424
)
2525

2626
// RelativeTo is a helper for operations relative to a given directory.

gopls/internal/lsp/filecache/filecache.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import (
3131
"sync/atomic"
3232
"time"
3333

34-
"golang.org/x/tools/gopls/internal/robustio"
34+
"golang.org/x/tools/internal/robustio"
3535
)
3636

3737
// Get retrieves from the cache and returns a newly allocated
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

gopls/internal/robustio/robustio_test.go internal/robustio/robustio_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"path/filepath"
1010
"testing"
1111

12-
"golang.org/x/tools/gopls/internal/robustio"
12+
"golang.org/x/tools/internal/robustio"
1313
)
1414

1515
func TestFileID(t *testing.T) {

0 commit comments

Comments
 (0)