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

Function make_position

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

Source from the content-addressed store, hash-verified

593 // Test Helpers
594
595 fn make_position(change: Option<Hash>, pos: u64) -> Position<Option<Hash>> {
596 Position {
597 change,
598 pos: ChangePosition::new(pos),
599 }
600 }
601
602 fn make_internal_position(change: NodeId, pos: u64) -> Position<NodeId> {
603 Position {

Calls

no outgoing calls