Skip to content

Commit

Permalink
all: fix a few function names on comments
Browse files Browse the repository at this point in the history
Change-Id: I71ed5ce987e5746c27b536c4ac4b43c81099b843
Reviewed-on: https://go-review.googlesource.com/c/mod/+/442075
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Joedian Reid <joedian@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
  • Loading branch information
cuishuang authored and gopherbot committed Oct 12, 2022
1 parent 2666ed6 commit aac77cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions module/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,13 @@ package module
// Changes to the semantics in this file require approval from rsc.

import (
"errors"
"fmt"
"path"
"sort"
"strings"
"unicode"
"unicode/utf8"
"errors"

"golang.org/x/mod/semver"
)
Expand Down Expand Up @@ -258,7 +258,7 @@ func modPathOK(r rune) bool {
return false
}

// modPathOK reports whether r can appear in a package import path element.
// importPathOK reports whether r can appear in a package import path element.
//
// Import paths are intermediate between module paths and file paths: we allow
// disallow characters that would be confusing or ambiguous as arguments to
Expand Down
2 changes: 1 addition & 1 deletion zip/zip.go
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ func (e *UnrecognizedVCSError) Error() string {
return fmt.Sprintf("could not find a recognized version control system at %q", e.RepoRoot)
}

// filterGitIgnored filters out any files that are git ignored in the directory.
// filesInGitRepo filters out any files that are git ignored in the directory.
func filesInGitRepo(dir, rev, subdir string) ([]File, error) {
stderr := bytes.Buffer{}
stdout := bytes.Buffer{}
Expand Down

0 comments on commit aac77cd

Please sign in to comment.