Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/erans/pgsqlite
/ is_expired
Method
is_expired
src/cache/ttl_cache.rs:107–109 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
105
}
106
107
fn is_expired(&self) -> bool {
108
Instant::now() >= self.expires_at
109
}
110
111
fn access(&mut self) {
112
self.last_accessed = Instant::now();
Callers
2
get
Method · 0.45
cleanup
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected