MCPcopy Create free account
hub / github.com/cli/cli / RepoHost

Method RepoHost

context/remote.go:97–99  ·  view source on GitHub ↗

RepoHost is the GitHub hostname that the remote points to

()

Source from the content-addressed store, hash-verified

95
96// RepoHost is the GitHub hostname that the remote points to
97func (r Remote) RepoHost() string {
98 return r.Repo.RepoHost()
99}
100
101type Translator interface {
102 Translate(*url.URL) *url.URL

Callers

nothing calls this directly

Calls 1

RepoHostMethod · 0.65

Tested by

no test coverage detected