MCPcopy Create free account
hub / github.com/couchbase/fleece / validate

Function validate

Fleece/Tree/HashTree+Internal.hh:143–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141 bool isLeaf() const {return (leaf._valueOffset & 1) != 0;}
142
143 const Node* validate() const {
144 if (isLeaf()) leaf.validate(); else interior.validate();
145 return this;
146 }
147 };
148
149} }

Callers

nothing calls this directly

Calls 2

isLeafFunction · 0.85
validateMethod · 0.45

Tested by

no test coverage detected