MCPcopy
hub / github.com/cli/cli / RoundTrip

Method RoundTrip

api/http_client.go:209–214  ·  view source on GitHub ↗
(req *http.Request)

Source from the content-addressed store, hash-verified

207}
208
209func (t telemetryDisablerTransport) RoundTrip(req *http.Request) (*http.Response, error) {
210 if ghauth.IsEnterprise(getHost(req)) {
211 t.telemetryDisabler.Disable()
212 }
213 return t.wrappedTransport.RoundTrip(req)
214}

Callers

nothing calls this directly

Calls 3

getHostFunction · 0.85
DisableMethod · 0.65
RoundTripMethod · 0.45

Tested by

no test coverage detected