MCPcopy Create free account
hub / github.com/gogs/gogs / Error

Struct Error

internal/osutil/error.go:12–14  ·  view source on GitHub ↗

Error is a wrapper of an OS error, which handles not found.

Source from the content-addressed store, hash-verified

10
11// Error is a wrapper of an OS error, which handles not found.
12type Error struct {
13 error
14}
15
16func (e Error) NotFound() bool {
17 return e.error == os.ErrNotExist

Callers 15

inVariableFunction · 0.50
inTagFunction · 0.50
mermaid.min.jsFile · 0.50
OpFunction · 0.50
UxFunction · 0.50
patternMethod · 0.50
assertionMethod · 0.50
characterClassMethod · 0.50
classAtomMethod · 0.50
positiveIntegerMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected