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

Method get_after

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

Source from the content-addressed store, hash-verified

332 /// Returns the "after" reference for the element at the given index.
333 #[inline]
334 pub fn get_after(&self, index: usize) -> Option<Option<&Id>> {
335 self.after_refs.get(index).map(|r| r.as_ref())
336 }
337
338 /// Returns an iterator over the elements.
339 #[inline]

Callers

nothing calls this directly

Calls 2

as_refMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected