Skip to content

Commit 3840ace

Browse files
author
Bryan C. Mills
committed
cmd/go/internal/modfetch/codehost: remove unused GitRepo function
For #37943 Change-Id: Ib8ba5d846f41afc0047c33b8145918d93326cdd0 Reviewed-on: https://go-review.googlesource.com/c/go/+/225937 Run-TryBot: Bryan C. Mills <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Michael Matloob <[email protected]>
1 parent d22086e commit 3840ace

File tree

1 file changed

+0
-5
lines changed
  • src/cmd/go/internal/modfetch/codehost

1 file changed

+0
-5
lines changed

src/cmd/go/internal/modfetch/codehost/git.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,6 @@ import (
2727
"golang.org/x/mod/semver"
2828
)
2929

30-
// GitRepo returns the code repository at the given Git remote reference.
31-
func GitRepo(remote string) (Repo, error) {
32-
return newGitRepoCached(remote, false)
33-
}
34-
3530
// LocalGitRepo is like Repo but accepts both Git remote references
3631
// and paths to repositories on the local file system.
3732
func LocalGitRepo(remote string) (Repo, error) {

0 commit comments

Comments
 (0)