MCPcopy Create free account
hub / github.com/nutsdb/nutsdb / isBucketNotFoundStatus

Function isBucketNotFoundStatus

pending.go:216–218  ·  view source on GitHub ↗

isBucketNotFoundStatus return true for bucket is not found, false for other status.

(status BucketStatus)

Source from the content-addressed store, hash-verified

214// isBucketNotFoundStatus return true for bucket is not found,
215// false for other status.
216func isBucketNotFoundStatus(status BucketStatus) bool {
217 return status == BucketStatusDeleted || status == BucketStatusUnknown
218}

Callers 8

putMethod · 0.85
PutIfNotExistsMethod · 0.85
getMethod · 0.85
getMaxOrMinKeyMethod · 0.85
HasMethod · 0.85
RangeScanEntriesMethod · 0.85
tryGetMethod · 0.85
GetTTLMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected