Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/couchbase/fleece
/ setContext
Method
setContext
Fleece/Integration/MCollection.hh:84–89 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
82
}
83
84
void setContext(MContext *ctx) {
85
if (_usuallyTrue(ctx != _context)) {
86
_context->release();
87
_context = ctx->retain();
88
}
89
}
90
91
void mutate() {
92
assert(_mutable);
Callers
nothing calls this directly
Calls
2
release
Method · 0.45
retain
Method · 0.45
Tested by
no test coverage detected