MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / get

Method get

atomic-remote/src/sync.rs:163–165  ·  view source on GitHub ↗

Get the cached node at a given sequence number.

(&self, sequence: u64)

Source from the content-addressed store, hash-verified

161
162 /// Get the cached node at a given sequence number.
163 pub fn get(&self, sequence: u64) -> Option<&Node> {
164 self.entries.get(&sequence)
165 }
166
167 /// Get the Merkle state at a given sequence number.
168 pub fn get_state(&self, sequence: u64) -> Option<&str> {

Callers

nothing calls this directly

Calls 1

getMethod · 0.65

Tested by

no test coverage detected