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

Method schema_hlc

nodedb-array/src/sync/apply.rs:236–238  ·  view source on GitHub ↗
(&self, array: &str)

Source from the content-addressed store, hash-verified

234#[cfg(test)]
235impl ApplyEngine for MockEngine {
236 fn schema_hlc(&self, array: &str) -> ArrayResult<Option<Hlc>> {
237 Ok(self.schemas.get(array).copied())
238 }
239
240 fn already_seen(&self, array: &str, hlc: Hlc) -> ArrayResult<bool> {
241 Ok(self.seen.contains(&(array.to_string(), hlc.to_bytes())))

Callers 1

apply_opFunction · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected