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

Method store_mut

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

Source from the content-addressed store, hash-verified

158 }
159
160 pub fn store_mut(&mut self, id: &ArrayId) -> ArrayEngineResult<&mut ArrayStore> {
161 self.arrays
162 .get_mut(id)
163 .ok_or_else(|| ArrayEngineError::UnknownArray(format!("{:?}", id)))
164 }
165
166 /// Drop superseded tile-versions older than `cutoff_system_ms` for the
167 /// array named `array_id`.

Callers 7

maybe_compactMethod · 0.80
put_cellsMethod · 0.80
delete_cellsMethod · 0.80
temporal_purgeMethod · 0.80
prepare_flushMethod · 0.80
run_purgeFunction · 0.80

Calls 1

get_mutMethod · 0.45

Tested by

no test coverage detected