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

Method set

Fleece/Tree/MutableHashTree.cc:113–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111 }
112
113 void MutableHashTree::set(slice key, Value val) {
114 if (val)
115 insert(key, [=](Value){ return val; });
116 else
117 remove(key);
118 }
119
120 bool MutableHashTree::remove(slice key) {
121 if (!_root) {

Callers

nothing calls this directly

Calls 1

insertFunction · 0.85

Tested by

no test coverage detected