MCPcopy
hub / github.com/sourcegraph/checkup / fake

Struct fake

checkup_test.go:200–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198var errTest = errors.New("i'm an error")
199
200type fake struct {
201 sync.Mutex
202
203 returnErr bool
204 checked int
205 stored []types.Result
206 maintained int
207 notified int
208}
209
210func (f *fake) Type() string {
211 return "fake"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected