MCPcopy Create free account
hub / github.com/code100x/daily-code / getInstance

Method getInstance

apps/web/lib/cache/in-memory-cache.ts:16–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14 }
15
16 static getInstance() {
17 if (!this.instance) {
18 this.instance = new InMemoryCache();
19 }
20 return this.instance;
21 }
22
23 async set(
24 type: string,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected