MCPcopy Index your code
hub / github.com/nutsdb/nutsdb / IsKeyEmpty

Function IsKeyEmpty

errors.go:28–30  ·  view source on GitHub ↗

IsKeyEmpty is true if the key is empty.

(err error)

Source from the content-addressed store, hash-verified

26
27// IsKeyEmpty is true if the key is empty.
28func IsKeyEmpty(err error) bool {
29 return errors.Is(err, ErrKeyEmpty)
30}
31
32// IsPrefixScan is true if prefix scanning not found the result.
33func IsPrefixScan(err error) bool {

Callers 1

TestIsKeyEmptyFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestIsKeyEmptyFunction · 0.68