MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / writeUpdateCache

Function writeUpdateCache

apps/kimi-code/src/cli/update/cache.ts:33–38  ·  view source on GitHub ↗
(
  value: UpdateCache,
  filePath: string = getUpdateStateFile(),
)

Source from the content-addressed store, hash-verified

31}
32
33export async function writeUpdateCache(
34 value: UpdateCache,
35 filePath: string = getUpdateStateFile(),
36): Promise<void> {
37 await writeJsonFile(filePath, UpdateCacheSchema, value);
38}

Callers 1

cache.test.tsFile · 0.90

Calls 2

getUpdateStateFileFunction · 0.90
writeJsonFileFunction · 0.90

Tested by

no test coverage detected