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

Function test_hash_position

atomic-core/src/change/graph_op.rs:655–657  ·  view source on GitHub ↗

Helper to create test positions

(pos: u64)

Source from the content-addressed store, hash-verified

653
654 // Helper to create test positions
655 fn test_hash_position(pos: u64) -> Position<Hash> {
656 Position::new(Hash::of(b"test"), ChangePosition::new(pos))
657 }
658
659 fn test_new_vertex() -> Insertion<Hash> {
660 Insertion {

Callers 2

test_new_vertexFunction · 0.70
test_edge_mapFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected