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

Method APIHostForHost

internal/authflow/flow.go:163–165  ·  view source on GitHub ↗

APIHostForHost never resolves for the same reason as HostForAPIHost.

(string)

Source from the content-addressed store, hash-verified

161
162// APIHostForHost never resolves for the same reason as HostForAPIHost.
163func (c cfg) APIHostForHost(string) (string, bool) {
164 return "", false
165}
166
167func getViewer(httpClient *http.Client, hostname, token string) (string, error) {
168 authedClient := *httpClient

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected