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

Method Hosts

internal/config/config.go:427–432  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

425}
426
427func (c *AuthConfig) Hosts() []string {
428 if c.hostsOverride != nil {
429 return c.hostsOverride()
430 }
431 return ghauth.KnownHosts()
432}
433
434// APIHostForHost returns the api_host configured for host, reporting false when
435// the host has no api_host set. It is the inverse of HostForAPIHost.

Callers 1

HostForAPIHostMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected