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

Method HostForAPIHost

internal/authflow/flow.go:145–147  ·  view source on GitHub ↗

HostForAPIHost never resolves, because the token here is supplied directly by the login flow and is used for whatever host the request is aimed at.

(string)

Source from the content-addressed store, hash-verified

143// HostForAPIHost never resolves, because the token here is supplied directly by
144// the login flow and is used for whatever host the request is aimed at.
145func (c cfg) HostForAPIHost(string) (string, bool) {
146 return "", false
147}
148
149// APIHostForHost never resolves for the same reason as HostForAPIHost.
150func (c cfg) APIHostForHost(string) (string, bool) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected