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

Method RepoHost

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

RepoHost is the GitHub hostname of the repository

()

Source from the content-addressed store, hash-verified

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

Callers 1

NewCreateContextFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected