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

Function test_hash_position

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

Helper to create test positions

(pos: u64)

Source from the content-addressed store, hash-verified

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

Callers 2

test_new_vertexFunction · 0.70
test_edge_mapFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected