Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GraphLite-AI/GraphLite
/ is_valid
Method
is_valid
graphlite/src/cache/result_cache.rs:85–87 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
83
}
84
85
fn is_valid(&self) -> bool {
86
!self.metadata.is_expired() && !self.result.rows.is_empty() // Don't cache empty results
87
}
88
}
89
90
/// Cache hit information for analytics
Callers
2
get
Method · 0.45
evict_l1_if_needed
Method · 0.45
Calls
2
is_expired
Method · 0.45
is_empty
Method · 0.45
Tested by
no test coverage detected