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

Function IsPrefixScan

errors.go:33–35  ·  view source on GitHub ↗

IsPrefixScan is true if prefix scanning not found the result.

(err error)

Source from the content-addressed store, hash-verified

31
32// IsPrefixScan is true if prefix scanning not found the result.
33func IsPrefixScan(err error) bool {
34 return errors.Is(err, ErrPrefixScan)
35}
36
37// IsPrefixSearchScan is true if prefix and search scanning not found the result.
38func IsPrefixSearchScan(err error) bool {

Callers 1

TestIsPrefixScanFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestIsPrefixScanFunction · 0.68