MCPcopy Create free account
hub / github.com/ElementsProject/elements / IsNotFound

Function IsNotFound

src/leveldb/include/leveldb/status.h:60–60  ·  view source on GitHub ↗

Returns true iff the status indicates a NotFound error.

Source from the content-addressed store, hash-verified

58
59 // Returns true iff the status indicates a NotFound error.
60 bool IsNotFound() const { return code() == kNotFound; }
61
62 // Returns true iff the status indicates a Corruption error.
63 bool IsCorruption() const { return code() == kCorruption; }

Callers

nothing calls this directly

Calls 1

codeFunction · 0.85

Tested by

no test coverage detected