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

Method asMutableCollection

Fleece/Mutable/ValueSlot.cc:220–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218
219
220 HeapCollection* ValueSlot::asMutableCollection() const {
221 const Value *ptr = asPointer();
222 if (ptr && ptr->isMutable())
223 return (HeapCollection*)HeapValue::asHeapValue(ptr);
224 return nullptr;
225 }
226
227
228 HeapCollection* ValueSlot::makeMutable(tags ifType) {

Callers

nothing calls this directly

Calls 1

isMutableMethod · 0.45

Tested by

no test coverage detected