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

Function position

atomic-core/src/pristine/txn/write/native_derived.rs:451–453  ·  view source on GitHub ↗
(change: NodeId, pos: u64)

Source from the content-addressed store, hash-verified

449 };
450
451 fn position(change: NodeId, pos: u64) -> Position<NodeId> {
452 Position::new(change, ChangePosition::new(pos))
453 }
454
455 fn node(change: NodeId, start: u64, end: u64) -> GraphNode<NodeId> {
456 GraphNode::new(change, ChangePosition::new(start), ChangePosition::new(end))

Calls

no outgoing calls