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

Method get

atomic-core/src/crdt/apply/order.rs:328–330  ·  view source on GitHub ↗
(&self, index: usize)

Source from the content-addressed store, hash-verified

326 /// Returns the element at the given index.
327 #[inline]
328 pub fn get(&self, index: usize) -> Option<&Id> {
329 self.elements.get(index)
330 }
331
332 /// Returns the "after" reference for the element at the given index.
333 #[inline]

Callers

nothing calls this directly

Calls 1

getMethod · 0.65

Tested by

no test coverage detected