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

Method new

atomic-core/src/crdt/apply/order.rs:217–219  ·  view source on GitHub ↗
(id: Id, after: Option<Id>)

Source from the content-addressed store, hash-verified

215 /// Creates a new ordering entry.
216 #[inline]
217 pub fn new(id: Id, after: Option<Id>) -> Self {
218 Self { id, after }
219 }
220
221 /// Returns the element's ID.
222 #[inline]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected