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

Method APIHostForHost

internal/authflow/flow.go:150–152  ·  view source on GitHub ↗

APIHostForHost never resolves for the same reason as HostForAPIHost.

(string)

Source from the content-addressed store, hash-verified

148
149// APIHostForHost never resolves for the same reason as HostForAPIHost.
150func (c cfg) APIHostForHost(string) (string, bool) {
151 return "", false
152}
153
154func getViewer(httpClient *http.Client, hostname, token string) (string, error) {
155 authedClient := *httpClient

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected