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

Function make_internal_vertex

atomic-core/src/apply/insertion.rs:379–385  ·  view source on GitHub ↗
(change: NodeId, start: u64, end: u64)

Source from the content-addressed store, hash-verified

377 }
378
379 fn make_internal_vertex(change: NodeId, start: u64, end: u64) -> GraphNode<NodeId> {
380 GraphNode {
381 change,
382 start: ChangePosition::new(start),
383 end: ChangePosition::new(end),
384 }
385 }
386
387 fn make_internal_position(change: NodeId, pos: u64) -> Position<NodeId> {
388 Position {

Callers 4

test_vertex_positionsFunction · 0.70
test_empty_vertexFunction · 0.70

Calls

no outgoing calls

Tested by 4

test_vertex_positionsFunction · 0.56
test_empty_vertexFunction · 0.56