Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/code100x/daily-code
/ getInstance
Method
getInstance
packages/db/Cache.ts:19–24 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
17
}
18
19
static getInstance(): Cache {
20
if
(!this.instance) {
21
this.instance =
new
Cache();
22
}
23
return
this.instance;
24
}
25
26
async
set(
27
type
: string,
Callers
2
constructor
Method · 0.45
Cache.ts
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected