MCPcopy
hub / github.com/cli/cli / RepoHost

Method RepoHost

api/queries_repo.go:261–263  ·  view source on GitHub ↗

RepoHost is the GitHub hostname of the repository

()

Source from the content-addressed store, hash-verified

259
260// RepoHost is the GitHub hostname of the repository
261func (r Repository) RepoHost() string {
262 return r.hostname
263}
264
265// ViewerCanPush is true when the requesting user has push access
266func (r Repository) ViewerCanPush() bool {

Callers 1

NewCreateContextFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected