MCPcopy Create free account
hub / github.com/aetherstate/GODMOD3.AI / evictStaleCache

Function evictStaleCache

api/lib/hf-reader.ts:94–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92const MAX_BATCH_CACHE = 50
93
94function evictStaleCache() {
95 const now = Date.now()
96 for (const [key, entry] of batchContentCache) {
97 if (entry.expires < now) batchContentCache.delete(key)
98 }
99}
100
101// ── Core: List Files in HF Repo ──────────────────────────────────────
102

Callers 1

readBatchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected