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

Method load

nodedb/src/control/surrogate/registry.rs:261–263  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

259 }
260
261 fn load(&self) -> crate::Result<u32> {
262 Ok(self.last().unwrap_or(0))
263 }
264 }
265
266 #[test]

Callers 4

current_hwmMethod · 0.45
should_flushMethod · 0.45
restore_hwmMethod · 0.45
callsMethod · 0.45

Calls 1

lastMethod · 0.45

Tested by

no test coverage detected