mirror of
https://github.com/golang/go.git
synced 2025-05-30 03:41:33 +00:00
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 <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Michael Matloob <matloob@golang.org>
This commit is contained in:
parent
d22086ef5e
commit
3840aced14
@ -27,11 +27,6 @@ import (
|
|||||||
"golang.org/x/mod/semver"
|
"golang.org/x/mod/semver"
|
||||||
)
|
)
|
||||||
|
|
||||||
// GitRepo returns the code repository at the given Git remote reference.
|
|
||||||
func GitRepo(remote string) (Repo, error) {
|
|
||||||
return newGitRepoCached(remote, false)
|
|
||||||
}
|
|
||||||
|
|
||||||
// LocalGitRepo is like Repo but accepts both Git remote references
|
// LocalGitRepo is like Repo but accepts both Git remote references
|
||||||
// and paths to repositories on the local file system.
|
// and paths to repositories on the local file system.
|
||||||
func LocalGitRepo(remote string) (Repo, error) {
|
func LocalGitRepo(remote string) (Repo, error) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user