MCPcopy Index your code
hub / github.com/cli/cli / DefaultHost

Method DefaultHost

internal/config/config.go:338–343  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

336}
337
338func (c *AuthConfig) DefaultHost() (string, string) {
339 if c.defaultHostOverride != nil {
340 return c.defaultHostOverride()
341 }
342 return ghauth.DefaultHost()
343}
344
345// SetDefaultHost will override any host resolution and return the given
346// host and source for all calls to DefaultHost. Use for testing purposes only.

Callers

nothing calls this directly

Calls 1

DefaultHostMethod · 0.65

Tested by

no test coverage detected