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

Function make_internal_vertex

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

Source from the content-addressed store, hash-verified

298 }
299
300 fn make_internal_vertex(change: NodeId, start: u64, end: u64) -> GraphNode<NodeId> {
301 GraphNode {
302 change,
303 start: ChangePosition::new(start),
304 end: ChangePosition::new(end),
305 }
306 }
307
308 fn make_internal_position(change: NodeId, pos: u64) -> Position<NodeId> {
309 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