Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ make_position
Function
make_position
atomic-core/src/apply/conflict.rs:469–474 ·
view source on GitHub ↗
(change: u64, pos: u64)
Source
from the content-addressed store, hash-verified
467
}
468
469
fn make_position(change: u64, pos: u64) -> Position<NodeId> {
470
Position {
471
change: NodeId::new(change),
472
pos: ChangePosition::new(pos),
473
}
474
}
475
476
// Zombie Conflict Tests
477
Callers
13
test_zombie_conflict_with_inode
Function · 0.70
test_missing_context_new
Function · 0.70
test_missing_context_up_context
Function · 0.70
test_missing_context_down_context
Function · 0.70
test_missing_context_with_expected
Function · 0.70
test_order_conflict_new
Function · 0.70
test_order_conflict_add_insertion
Function · 0.70
test_order_conflict_no_duplicates
Function · 0.70
test_conflict_tracker_add_missing_context
Function · 0.70
test_conflict_tracker_add_order_conflict
Function · 0.70
test_conflict_tracker_total_count
Function · 0.70
test_conflict_tracker_clear
Function · 0.70
Calls
no outgoing calls
Tested by
13
test_zombie_conflict_with_inode
Function · 0.56
test_missing_context_new
Function · 0.56
test_missing_context_up_context
Function · 0.56
test_missing_context_down_context
Function · 0.56
test_missing_context_with_expected
Function · 0.56
test_order_conflict_new
Function · 0.56
test_order_conflict_add_insertion
Function · 0.56
test_order_conflict_no_duplicates
Function · 0.56
test_conflict_tracker_add_missing_context
Function · 0.56
test_conflict_tracker_add_order_conflict
Function · 0.56
test_conflict_tracker_total_count
Function · 0.56
test_conflict_tracker_clear
Function · 0.56