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

Method RoundTrip

script/ghmock/run_test.go:58–60  ·  view source on GitHub ↗
(*http.Request)

Source from the content-addressed store, hash-verified

56type failingTransport struct{}
57
58func (failingTransport) RoundTrip(*http.Request) (*http.Response, error) {
59 return nil, errors.New("downloads are off in tests")
60}
61
62// useTestSchemas points ghmock at the small schemas in testdata.
63func useTestSchemas(t *testing.T) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected