diff options
| author | Cameron Bedard <cam.bedardca@gmail.com> | 2023-01-26 01:05:20 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-01-26 01:06:22 +0000 |
| commit | 89de906aa20b18f801b1c44abc03f298ae850954 (patch) | |
| tree | b6162e7c5f35edff623624a7102a608a82ee8aa2 | |
| parent | 451106921fbcbbae37769db582aea52bf8f728e6 (diff) | |
| download | go-89de906aa20b18f801b1c44abc03f298ae850954.tar.xz | |
cmd/go/internal/vcs: fix outdated comment
Function was was replaced in https://go.dev/cl/12143.
Fixes #57718
Change-Id: I56ff9390af9ae31803805fa27d2c08b5e1d842e1
GitHub-Last-Rev: b8c9dbccbc0b412fd7833d4df9d347953798b17b
GitHub-Pull-Request: golang/go#57767
Reviewed-on: https://go-review.googlesource.com/c/go/+/461610
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
| -rw-r--r-- | src/cmd/go/internal/vcs/vcs.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/go/internal/vcs/vcs.go b/src/cmd/go/internal/vcs/vcs.go index ef54c6626d..2ef115da31 100644 --- a/src/cmd/go/internal/vcs/vcs.go +++ b/src/cmd/go/internal/vcs/vcs.go @@ -1270,7 +1270,7 @@ func urlForImportPath(importPath string) (*urlpkg.URL, error) { } // repoRootForImportDynamic finds a *RepoRoot for a custom domain that's not -// statically known by repoRootForImportPathStatic. +// statically known by repoRootFromVCSPaths. // // This handles custom import paths like "name.tld/pkg/foo" or just "name.tld". func repoRootForImportDynamic(importPath string, mod ModuleMode, security web.SecurityMode) (*RepoRoot, error) { |
