MCPcopy 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

getMethod · 0.45
evict_l1_if_neededMethod · 0.45

Calls 2

is_expiredMethod · 0.45
is_emptyMethod · 0.45

Tested by

no test coverage detected