MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / isCacheValid

Function isCacheValid

out/cli.cjs:86213–86216  ·  view source on GitHub ↗
(cache)

Source from the content-addressed store, hash-verified

86211 const cache = {
86212 timestamp: Date.now(),
86213 models
86214 };
86215 (0, import_fs5.writeFileSync)(MODEL_CACHE_PATH, JSON.stringify(cache, null, 2), "utf8");
86216 } catch {
86217 }
86218}
86219function isCacheValid(cache) {

Callers 1

fetchModelsForProviderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…