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

Method fromSortedStrings

Experimental/KeyTree.cc:129–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127
128
129 KeyTree KeyTree::fromSortedStrings(const std::vector<slice>& strings) {
130 return KeyTree(keyTreeWriter(strings).writeTree());
131 }
132
133 KeyTree KeyTree::fromStrings(std::vector<slice> strings) {
134 std::sort(strings.begin(), strings.end());

Callers

nothing calls this directly

Calls 3

KeyTreeClass · 0.85
keyTreeWriterClass · 0.85
writeTreeMethod · 0.80

Tested by

no test coverage detected