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

Method Empty

types/errors.go:22–29  ·  view source on GitHub ↗

Empty returns whether e has any non-nil errors in it.

()

Source from the content-addressed store, hash-verified

20
21// Empty returns whether e has any non-nil errors in it.
22func (e Errors) Empty() bool {
23 for _, err := range e {
24 if err != nil {
25 return false
26 }
27 }
28 return true
29}

Callers 1

CheckMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected