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

Function getUpdateStateFile

apps/kimi-code/src/utils/paths.ts:65–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63 * Return the update cache file: `<dataDir>/updates/latest.json`.
64 */
65export function getUpdateStateFile(): string {
66 return join(getDataDir(), KIMI_CODE_UPDATE_DIR_NAME, KIMI_CODE_UPDATE_STATE_FILE_NAME);
67}
68
69/**
70 * Return the update install state file: `<dataDir>/updates/install.json`.

Callers 4

paths.test.tsFile · 0.90
cache.test.tsFile · 0.90
readUpdateCacheFunction · 0.90
writeUpdateCacheFunction · 0.90

Calls 1

getDataDirFunction · 0.85

Tested by

no test coverage detected