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

Function test_hash_position

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

Helper to create test positions

(pos: u64)

Source from the content-addressed store, hash-verified

869
870 // Helper to create test positions
871 fn test_hash_position(pos: u64) -> Position<Hash> {
872 Position::new(Hash::of(b"test"), ChangePosition::new(pos))
873 }
874
875 fn test_new_vertex() -> Insertion<Hash> {
876 Insertion {

Callers 2

test_new_vertexFunction · 0.70
test_edge_mapFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected