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

Method rootNode

Fleece/Tree/MutableHashTree.cc:74–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72 }
73
74 NodeRef MutableHashTree::rootNode() const {
75 if (_root)
76 return _root;
77 else if (_imRoot)
78 return _imRoot->rootNode();
79 else
80 return {};
81 }
82
83 Value MutableHashTree::get(slice key) const {
84 if (_root) {

Callers 1

iteratorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected