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

Method unavailable

script/ghmock/checker.go:129–138  ·  view source on GitHub ↗

unavailable describes each schema that couldn't be loaded.

()

Source from the content-addressed store, hash-verified

127
128// unavailable describes each schema that couldn't be loaded.
129func (c *checker) unavailable() []string {
130 var notes []string
131 if c.gqlErr != nil {
132 notes = append(notes, fmt.Sprintf("GraphQL checks are off: %v", c.gqlErr))
133 }
134 if c.restErr != nil {
135 notes = append(notes, fmt.Sprintf("REST checks are off: %v", c.restErr))
136 }
137 return notes
138}
139
140// checkResult is what checking one request and its response found. note says
141// why a response wasn't checked, when it wasn't.

Callers 2

runAllFunction · 0.80
testCheckerFunction · 0.80

Calls

no outgoing calls

Tested by 1

testCheckerFunction · 0.64