MCPcopy Create free account
hub / github.com/AbelChe/evil_minio / isErrObjectNotFound

Function isErrObjectNotFound

cmd/object-api-errors.go:678–681  ·  view source on GitHub ↗

isErrObjectNotFound - Check if error type is ObjectNotFound.

(err error)

Source from the content-addressed store, hash-verified

676
677// isErrObjectNotFound - Check if error type is ObjectNotFound.
678func isErrObjectNotFound(err error) bool {
679 var objNotFound ObjectNotFound
680 return errors.As(err, &objNotFound)
681}
682
683// isErrVersionNotFound - Check if error type is VersionNotFound.
684func isErrVersionNotFound(err error) bool {

Callers 15

getPoolIdxNoLockMethod · 0.85
getPoolIdxMethod · 0.85
DeleteObjectsMethod · 0.85
HealObjectsMethod · 0.85
HealObjectMethod · 0.85
CheckAbandonedPartsMethod · 0.85
WalkEntriesMethod · 0.85
readConfigWithMetadataFunction · 0.85
deleteConfigFunction · 0.85
checkConfigFunction · 0.85

Calls

no outgoing calls

Tested by 3

testDeleteObjectVersionFunction · 0.68
TestHealObjectErasureFunction · 0.68