MCPcopy
hub / github.com/cli/cli / Hosts

Method Hosts

internal/gh/gh.go:132–132  ·  view source on GitHub ↗

Hosts retrieves a list of known hosts.

()

Source from the content-addressed store, hash-verified

130
131 // Hosts retrieves a list of known hosts.
132 Hosts() []string
133
134 // DefaultHost retrieves the default host.
135 DefaultHost() (host string, source string)

Callers 11

CheckAuthFunction · 0.65
ResolverMethod · 0.65
setupGitRunFunction · 0.65
switchRunFunction · 0.65
refreshRunFunction · 0.65
statusRunFunction · 0.65
logoutRunFunction · 0.65
mightBeGHESUserFunction · 0.65
TestHostsIncludesEnvVarFunction · 0.65

Implementers 1

AuthConfiginternal/config/config.go

Calls

no outgoing calls