File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -96,13 +96,13 @@ package module
9696// Changes to the semantics in this file require approval from rsc.
9797
9898import (
99+ "errors"
99100 "fmt"
100101 "path"
101102 "sort"
102103 "strings"
103104 "unicode"
104105 "unicode/utf8"
105- "errors"
106106
107107 "golang.org/x/mod/semver"
108108)
@@ -258,7 +258,7 @@ func modPathOK(r rune) bool {
258258 return false
259259}
260260
261- // modPathOK reports whether r can appear in a package import path element.
261+ // importPathOK reports whether r can appear in a package import path element.
262262//
263263// Import paths are intermediate between module paths and file paths: we allow
264264// disallow characters that would be confusing or ambiguous as arguments to
Original file line number Diff line number Diff line change @@ -619,7 +619,7 @@ func (e *UnrecognizedVCSError) Error() string {
619619 return fmt .Sprintf ("could not find a recognized version control system at %q" , e .RepoRoot )
620620}
621621
622- // filterGitIgnored filters out any files that are git ignored in the directory.
622+ // filesInGitRepo filters out any files that are git ignored in the directory.
623623func filesInGitRepo (dir , rev , subdir string ) ([]File , error ) {
624624 stderr := bytes.Buffer {}
625625 stdout := bytes.Buffer {}
You can’t perform that action at this time.
0 commit comments