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

Function test_hash_position

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

Source from the content-addressed store, hash-verified

1504 use std::io::Cursor;
1505
1506 fn test_hash_position(pos: u64) -> Position<Option<Hash>> {
1507 Position::new(Some(Hash::of(b"test")), ChangePosition::new(pos))
1508 }
1509
1510 fn test_new_vertex() -> Insertion<Option<Hash>> {
1511 Insertion {

Calls

no outgoing calls

Tested by

no test coverage detected