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

Function make_position

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

Source from the content-addressed store, hash-verified

437 // Test Helpers
438
439 fn make_position(change: Option<Hash>, pos: u64) -> Position<Option<Hash>> {
440 Position {
441 change,
442 pos: ChangePosition::new(pos),
443 }
444 }
445
446 fn make_internal_position(change: NodeId, pos: u64) -> Position<NodeId> {
447 Position {

Calls

no outgoing calls