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

Function IsObjectAlreadyExists

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

Source from the content-addressed store, hash-verified

19}
20
21func IsObjectAlreadyExists(err error) bool {
22 return errors.Is(pkgerr.Cause(err), ObjectAlreadyExists)
23}

Callers 3

MakeDirFunction · 0.92
PutFunction · 0.92
FsGetDirectUploadInfoFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected