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

Function test_hash_position

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

Source from the content-addressed store, hash-verified

897 use std::io::Cursor;
898
899 fn test_hash_position(pos: u64) -> Position<Option<Hash>> {
900 Position::new(Some(Hash::of(b"test")), ChangePosition::new(pos))
901 }
902
903 fn test_new_vertex() -> Insertion<Option<Hash>> {
904 Insertion {

Calls

no outgoing calls

Tested by

no test coverage detected