Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ take_inject
Method
take_inject
nodedb-array/src/sync/apply.rs:219–224 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
217
}
218
219
fn take_inject(&self) -> Option<ArrayError> {
220
self.reject_next_with
221
.lock()
222
.expect(
"invariant: MockEngine mutex is not poisoned"
)
223
.take()
224
}
225
}
226
227
#[cfg(test)]
Callers
3
apply_put
Method · 0.80
apply_delete
Method · 0.80
apply_erase
Method · 0.80
Calls
3
lock
Method · 0.80
take
Method · 0.45
expect
Method · 0.45
Tested by
no test coverage detected