MCPcopy Create free account
hub / github.com/amrkmn/x / saveStaticCache

Function saveStaticCache

scripts/task.ts:61–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59 if (restoredKey) logger.info('cache', `restore complete key=${JSON.stringify(restoredKey)}`);
60 else logger.info('cache', 'restore skipped reason="not_found"');
61}
62
63async function saveStaticCache(): Promise<void> {
64 await saveCache(CACHE_PATHS, await generateCacheKey());
65}
66

Callers 2

finalizeFullUpdateFunction · 0.85
task.tsFile · 0.85

Calls 2

saveCacheFunction · 0.90
generateCacheKeyFunction · 0.90

Tested by

no test coverage detected