Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ len
Method
len
nodedb/src/engine/timeseries/query_cache.rs:121–123 ·
view source on GitHub ↗
Number of cached entries.
(&self)
Source
from the content-addressed store, hash-verified
119
120
/// Number of cached entries.
121
pub fn len(&self) -> usize {
122
self.entries.len()
123
}
124
125
pub fn is_empty(&self) -> bool {
126
self.entries.is_empty()
Callers
3
insert
Method · 0.45
invalidate_partition
Method · 0.45
evict_tenant
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected