Skip to content

Commit dd09381

Browse files
committed
bisect: move to internal/bisect until API is reviewed
I wasn't thinking of this package as an exported library, but of course it is, so it should go through proposal review. Moving to internal until that happens. Change-Id: Ic8abbe5f6530d5d6201114c1799e26d604f3dd64 Reviewed-on: https://go-review.googlesource.com/c/tools/+/492976 TryBot-Bypass: Russ Cox <[email protected]> Run-TryBot: Russ Cox <[email protected]> Reviewed-by: Robert Findley <[email protected]>
1 parent 516063a commit dd09381

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

cmd/bisect/main.go

+4-3
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@
2525
// arguments. For each change that matches the pattern, the target must
2626
// enable that change and also print one or more “match lines”
2727
// (to standard output or standard error) describing the change.
28-
// The [golang.org/x/tools/bisect] package provides functions to help
29-
// targets implement this protocol.
28+
// The [golang.org/x/tools/internal/bisect] package provides functions to help
29+
// targets implement this protocol. We plan to publish that package
30+
// in a non-internal location after finalizing its API.
3031
//
3132
// # Command Line Flags
3233
//
@@ -101,7 +102,7 @@ import (
101102
"strings"
102103
"time"
103104

104-
"golang.org/x/tools/bisect"
105+
"golang.org/x/tools/internal/bisect"
105106
)
106107

107108
// Preserve import of bisect, to allow [bisect.Match] in the doc comment.

cmd/bisect/main_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
"strings"
1717
"testing"
1818

19-
"golang.org/x/tools/bisect"
19+
"golang.org/x/tools/internal/bisect"
2020
"golang.org/x/tools/internal/diffp"
2121
"golang.org/x/tools/txtar"
2222
)
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)