MCPcopy
hub / github.com/di-sukharev/opencommit / ModelCache

Interface ModelCache

src/utils/modelCache.ts:9–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7const CACHE_TTL_MS = 7 * 24 * 60 * 60 * 1000; // 7 days
8
9interface ModelCache {
10 timestamp: number;
11 models: Record<string, string[]>;
12}
13
14function readCache(): ModelCache | null {
15 try {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…