Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ branch
Function
branch
atomic-core/src/crdt/queries.rs:155–157 ·
view source on GitHub ↗
(change: u64, idx: u32)
Source
from the content-addressed store, hash-verified
153
}
154
155
fn branch(change: u64, idx: u32) -> BranchId {
156
BranchId::new(NodeId::new(change), idx)
157
}
158
159
fn put_branch(
160
txn: &mut impl crate::pristine::MutTxnT,
Callers
6
linear_chain_preserves_insertion_order
Function · 0.85
later_change_prepends_at_top_of_file
Function · 0.85
concurrent_inserts_after_same_ref_sort_by_branchid
Function · 0.85
branches_without_after_record_fall_back_to_branchid_order
Function · 0.85
reparent_writes_branch_after_in_isolation
Function · 0.85
move_via_paired_reparents_produces_coherent_chain
Function · 0.85
Calls
no outgoing calls
Tested by
6
linear_chain_preserves_insertion_order
Function · 0.68
later_change_prepends_at_top_of_file
Function · 0.68
concurrent_inserts_after_same_ref_sort_by_branchid
Function · 0.68
branches_without_after_record_fall_back_to_branchid_order
Function · 0.68
reparent_writes_branch_after_in_isolation
Function · 0.68
move_via_paired_reparents_produces_coherent_chain
Function · 0.68