Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ clear
Method
clear
atomic-core/src/change/store.rs:382–384 ·
view source on GitHub ↗
Clear all changes from the store.
(&self)
Source
from the content-addressed store, hash-verified
380
381
/// Clear all changes from the store.
382
pub fn clear(&self) {
383
self.changes.write().unwrap().clear();
384
}
385
386
/// Get all hashes in the store.
387
pub fn hashes(&self) -> Vec<Hash> {
Callers
nothing calls this directly
Calls
3
clear
Method · 0.65
unwrap
Method · 0.45
write
Method · 0.45
Tested by
no test coverage detected