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

Function make_vertex

atomic-core/src/apply/conflict.rs:461–467  ·  view source on GitHub ↗
(change: u64, start: u64, end: u64)

Source from the content-addressed store, hash-verified

459 // Test Helpers
460
461 fn make_vertex(change: u64, start: u64, end: u64) -> GraphNode<NodeId> {
462 GraphNode {
463 change: NodeId::new(change),
464 start: ChangePosition::new(start),
465 end: ChangePosition::new(end),
466 }
467 }
468
469 fn make_position(change: u64, pos: u64) -> Position<NodeId> {
470 Position {

Calls

no outgoing calls