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

Function make_position

atomic-core/src/apply/insertion.rs:372–377  ·  view source on GitHub ↗
(change: Option<Hash>, pos: u64)

Source from the content-addressed store, hash-verified

370 // Test Helpers
371
372 fn make_position(change: Option<Hash>, pos: u64) -> Position<Option<Hash>> {
373 Position {
374 change,
375 pos: ChangePosition::new(pos),
376 }
377 }
378
379 fn make_internal_vertex(change: NodeId, start: u64, end: u64) -> GraphNode<NodeId> {
380 GraphNode {

Calls

no outgoing calls