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

Method snapshots

nodedb/src/control/array_sync/inbound.rs:110–112  ·  view source on GitHub ↗

Accessor for the snapshot assembly buffer used by the `snapshot_assembly` sibling module.

(&self)

Source from the content-addressed store, hash-verified

108 /// Accessor for the snapshot assembly buffer used by the
109 /// `snapshot_assembly` sibling module.
110 pub(super) fn snapshots(&self) -> &Mutex<HashMap<(String, [u8; 18]), SnapshotAssembly>> {
111 &self.snapshots
112 }
113
114 pub(super) fn shared(&self) -> &Arc<SharedState> {
115 &self.shared

Callers 2

handle_snapshot_chunkMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected