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

Method record_leaf_replaced

atomic-core/src/crdt/apply/context.rs:577–579  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

575 /// Records a leaf replacement.
576 #[inline]
577 pub fn record_leaf_replaced(&mut self) {
578 self.stats.add_leaf_replaced();
579 }
580
581 /// Records a leaf restoration.
582 #[inline]

Callers 2

apply_replaceFunction · 0.80

Calls 1

add_leaf_replacedMethod · 0.80

Tested by 1