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

Function make_position

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

Source from the content-addressed store, hash-verified

291 // Test Helpers
292
293 fn make_position(change: Option<Hash>, pos: u64) -> Position<Option<Hash>> {
294 Position {
295 change,
296 pos: ChangePosition::new(pos),
297 }
298 }
299
300 fn make_internal_vertex(change: NodeId, start: u64, end: u64) -> GraphNode<NodeId> {
301 GraphNode {

Calls

no outgoing calls