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

Method DefaultHost

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

DefaultHost retrieves the default host.

()

Source from the content-addressed store, hash-verified

177
178 // DefaultHost retrieves the default host.
179 DefaultHost() (host string, source string)
180
181 // Login will set user, git protocol, and auth token for the given hostname.
182 //

Callers 7

NewFunction · 0.65
defaultHostFunction · 0.65
DefaultHostMethod · 0.65

Implementers 1

AuthConfiginternal/config/config.go

Calls

no outgoing calls