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

Function test_hash_position

atomic-core/src/change/change.rs:1258–1260  ·  view source on GitHub ↗
(pos: u64)

Source from the content-addressed store, hash-verified

1256 use std::io::Cursor;
1257
1258 fn test_hash_position(pos: u64) -> Position<Option<Hash>> {
1259 Position::new(Some(Hash::of(b"test")), ChangePosition::new(pos))
1260 }
1261
1262 fn test_new_vertex() -> Insertion<Option<Hash>> {
1263 Insertion {

Calls

no outgoing calls

Tested by

no test coverage detected