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

Method schema_hlc

nodedb/src/control/array_sync/schema_registry.rs:86–89  ·  view source on GitHub ↗

Return the current `schema_hlc` for `array`, or `None` if unknown.

(&self, array: &str)

Source from the content-addressed store, hash-verified

84
85 /// Return the current `schema_hlc` for `array`, or `None` if unknown.
86 pub fn schema_hlc(&self, array: &str) -> Option<Hlc> {
87 let docs = self.docs.lock().ok()?;
88 docs.get(array).map(|d| d.schema_hlc())
89 }
90
91 /// Return the `tile_extents` for `array`, or `None` if the array is not
92 /// registered or the schema cannot be decoded.

Callers 1

import_snapshotMethod · 0.45

Calls 3

lockMethod · 0.80
okMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected