Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ add_leaf_replaced
Method
add_leaf_replaced
atomic-core/src/crdt/apply/context.rs:183–185 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
181
/// Records a leaf replacement.
182
#[inline]
183
pub fn add_leaf_replaced(&mut self) {
184
self.leaves_replaced += 1;
185
}
186
187
/// Records a leaf restoration.
188
#[inline]
Callers
3
record_leaf_replaced
Method · 0.80
test_stats_leaf_operations
Function · 0.80
test_stats_display
Function · 0.80
Calls
no outgoing calls
Tested by
2
test_stats_leaf_operations
Function · 0.64
test_stats_display
Function · 0.64