Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Thanas-R/Virdis
/ CachedEntry
Interface
CachedEntry
src/lib/query-cache.ts:1–4 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
export
interface
CachedEntry<T> {
2
data: T;
3
timestamp: number;
4
}
5
6
export
function
getLocalCache<T>(key: string): Record<string, CachedEntry<T>> {
7
try {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected