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

Method NotFound

internal/gitutil/error.go:17–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15}
16
17func (e Error) NotFound() bool {
18 return IsErrSubmoduleNotExist(e.error) ||
19 IsErrRevisionNotExist(e.error)
20}
21
22// NewError wraps given error.
23func NewError(err error) error {

Callers

nothing calls this directly

Calls 2

IsErrSubmoduleNotExistFunction · 0.85
IsErrRevisionNotExistFunction · 0.85

Tested by

no test coverage detected