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

Method new

atomic-core/src/record/workflow/crdt/builder/leaf.rs:30–32  ·  view source on GitHub ↗

Creates a new token operation.

(leaf_id: LeafId, operation: LeafOp)

Source from the content-addressed store, hash-verified

28impl TokenOps {
29 /// Creates a new token operation.
30 pub fn new(leaf_id: LeafId, operation: LeafOp) -> Self {
31 Self { leaf_id, operation }
32 }
33
34 /// Returns the leaf ID.
35 #[inline]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected