MCPcopy Index your code
hub / github.com/MiniMax-AI/cli / writeState

Function writeState

src/update/checker.ts:24–28  ·  view source on GitHub ↗
(state: UpdateState)

Source from the content-addressed store, hash-verified

22}
23
24function writeState(state: UpdateState): void {
25 try {
26 writeFileSync(STATE_FILE(), JSON.stringify(state));
27 } catch { /* ignore */ }
28}
29
30async function fetchLatestVersion(): Promise<string | null> {
31 try {

Callers 1

checkForUpdateFunction · 0.85

Calls 1

STATE_FILEFunction · 0.85

Tested by

no test coverage detected