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

Function IsObjectNotFound

internal/errs/object.go:17–19  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

15)
16
17func IsObjectNotFound(err error) bool {
18 return errors.Is(pkgerr.Cause(err), ObjectNotFound)
19}
20
21func IsObjectAlreadyExists(err error) bool {
22 return errors.Is(pkgerr.Cause(err), ObjectAlreadyExists)

Callers 12

GetMethod · 0.92
MakeDirFunction · 0.92
RemoveFunction · 0.92
GetDirectUploadInfoFunction · 0.92
AddURLFunction · 0.92
handleDeleteMethod · 0.92
handleMkcolMethod · 0.92
handleProppatchMethod · 0.92
PutObjectMethod · 0.92
deleteObjectMethod · 0.92
FsGetDirectUploadInfoFunction · 0.92

Calls

no outgoing calls

Tested by 1