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

Method newRoot

Fleece/Tree/MutableNode.hh:97–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95 public:
96
97 static MutableInterior* newRoot(const HashTree *imTree) {
98 if (imTree)
99 return mutableCopy(imTree->rootNode());
100 else
101 return newNode(kMaxChildren);
102 }
103
104
105 unsigned childCount() const {

Callers

nothing calls this directly

Calls 1

rootNodeMethod · 0.45

Tested by

no test coverage detected