MCPcopy Create free account
hub / github.com/LEXUGE/dcompass / validate

Method validate

droute/src/cache.rs:98–100  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

96 }
97
98 pub fn validate(&self) -> bool {
99 Instant::now().saturating_duration_since(self.created_instant) <= self.ttl
100 }
101}
102
103pub enum RecordStatus<T> {

Callers 1

getMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected