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

Function test_position

atomic-core/src/change/atom.rs:478–480  ·  view source on GitHub ↗
(change: u64, pos: u64)

Source from the content-addressed store, hash-verified

476 // Helper to create test positions
477 #[allow(dead_code)]
478 fn test_position(change: u64, pos: u64) -> Position<NodeId> {
479 Position::new(NodeId::new(change), ChangePosition::new(pos))
480 }
481
482 fn test_hash_position(pos: u64) -> Position<Hash> {
483 Position::new(Hash::of(b"test"), ChangePosition::new(pos))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected