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

Method resolvePointerFromWithRange

Fleece/Core/Doc.cc:243–251  ·  view source on GitHub ↗

static*/

Source from the content-addressed store, hash-verified

241
242
243 /*static*/ pair<const Value*,slice> Scope::resolvePointerFromWithRange(const Pointer* src,
244 const void* dst) noexcept
245 {
246 lock_guard<mutex> lock(sMutex);
247 auto scope = _containing((const Value*)src);
248 if (!scope)
249 return { };
250 return {scope->resolveExternPointerTo(dst), scope->externDestination()};
251 }
252
253
254 void Scope::dumpAll() {

Callers

nothing calls this directly

Calls 2

externDestinationMethod · 0.80

Tested by

no test coverage detected