MCPcopy Create free account
hub / github.com/OpenListTeam/OpenList / IsNotFoundError

Function IsNotFoundError

internal/errs/errors.go:37–39  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

35}
36
37func IsNotFoundError(err error) bool {
38 return errors.Is(pkgerr.Cause(err), ObjectNotFound) || errors.Is(pkgerr.Cause(err), StorageNotFound)
39}
40
41func IsNotSupportError(err error) bool {
42 return errors.Is(pkgerr.Cause(err), NotSupport)

Callers 3

handlePutMethod · 0.92
handlePropfindMethod · 0.92
getDirEntriesFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected