Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LEXUGE/dcompass
/ get
Method
get
droute/src/cache.rs:94–96 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
92
}
93
94
pub fn get(&self) -> T {
95
self.content.clone()
96
}
97
98
pub fn validate(&self) -> bool {
99
Instant::now().saturating_duration_since(self.created_instant) <= self.ttl
Callers
4
matches
Method · 0.80
send
Method · 0.80
resolve
Method · 0.80
query
Method · 0.80
Calls
1
validate
Method · 0.45
Tested by
no test coverage detected