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

Method store

nodedb/src/engine/array/engine.rs:154–158  ·  view source on GitHub ↗
(&self, id: &ArrayId)

Source from the content-addressed store, hash-verified

152 }
153
154 pub fn store(&self, id: &ArrayId) -> ArrayEngineResult<&ArrayStore> {
155 self.arrays
156 .get(id)
157 .ok_or_else(|| ArrayEngineError::UnknownArray(format!("{:?}", id)))
158 }
159
160 pub fn store_mut(&mut self, id: &ArrayId) -> ArrayEngineResult<&mut ArrayStore> {
161 self.arrays

Calls 1

getMethod · 0.45