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

Method IsEmpty

src/leveldb/include/leveldb/iterator.h:88–88  ·  view source on GitHub ↗

True if the node is not used. Only head nodes might be unused.

Source from the content-addressed store, hash-verified

86 struct CleanupNode {
87 // True if the node is not used. Only head nodes might be unused.
88 bool IsEmpty() const { return function == nullptr; }
89 // Invokes the cleanup function.
90 void Run() {
91 assert(function != nullptr);

Callers 2

~IteratorMethod · 0.45
RegisterCleanupMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected