MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / read

Method read

nodedb/src/event/cdc/registry.rs:89–91  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

87 }
88
89 fn read(&self) -> std::sync::RwLockReadGuard<'_, Inner> {
90 self.inner.read().unwrap_or_else(|p| p.into_inner())
91 }
92
93 fn write(&self) -> std::sync::RwLockWriteGuard<'_, Inner> {
94 self.inner.write().unwrap_or_else(|p| p.into_inner())

Callers 5

getMethod · 0.45
find_matchingMethod · 0.45
list_allMethod · 0.45
list_for_tenantMethod · 0.45
lenMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected