Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ test_hash_position
Function
test_hash_position
atomic-core/src/change/atom.rs:482–484 ·
view source on GitHub ↗
(pos: u64)
Source
from the content-addressed store, hash-verified
480
}
481
482
fn test_hash_position(pos: u64) -> Position<Hash> {
483
Position::new(Hash::of(b
"test"
), ChangePosition::new(pos))
484
}
485
486
// Atom Tests
487
Callers
15
test_atom_is_new_vertex
Function · 0.70
test_atom_is_edge_map
Function · 0.70
test_atom_as_new_vertex
Function · 0.70
test_atom_inode
Function · 0.70
test_atom_from_new_vertex
Function · 0.70
test_atom_from_edge_map
Function · 0.70
test_new_vertex_len
Function · 0.70
test_new_vertex_empty
Function · 0.70
test_new_vertex_context
Function · 0.70
test_new_vertex_no_context
Function · 0.70
test_new_vertex_display
Function · 0.70
test_new_vertex_json_roundtrip
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected