Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ clear
Method
clear
nodedb/src/engine/timeseries/last_value_cache.rs:105–107 ·
view source on GitHub ↗
Clear all entries (e.g., on collection drop).
(&mut self)
Source
from the content-addressed store, hash-verified
103
104
/// Clear all entries (e.g., on collection drop).
105
pub fn clear(&mut self) {
106
self.entries.clear();
107
}
108
}
109
110
impl Default for LastValueCache {
Callers
5
clear_cache
Function · 0.45
drain
Method · 0.45
truncate_to
Method · 0.45
load
Method · 0.45
clear_and_reload
Method · 0.45
Calls
no outgoing calls
Tested by
1
clear_cache
Function · 0.36