Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ clear
Method
clear
atomic-core/src/crdt/apply/order.rs:452–455 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
450
/// Clears all elements from the sequence.
451
#[inline]
452
pub fn clear(&mut self) {
453
self.elements.clear();
454
self.after_refs.clear();
455
}
456
}
457
458
// Tests
Callers
nothing calls this directly
Calls
1
clear
Method · 0.65
Tested by
no test coverage detected