]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go/internal/vcs: fix outdated comment
authorCameron Bedard <cam.bedardca@gmail.com>
Thu, 26 Jan 2023 01:05:20 +0000 (01:05 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 26 Jan 2023 01:06:22 +0000 (01:06 +0000)
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>
src/cmd/go/internal/vcs/vcs.go

index ef54c6626de1249aefacf4646b965700bc4e6598..2ef115da3160f25545b587dd8e41a8a72f5f9ec2 100644 (file)
@@ -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) {