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

Function cacheWith

apps/kimi-code/test/cli/upgrade.test.ts:7–17  ·  view source on GitHub ↗
(
  version: string | null,
  manifest: UpdateCache['manifest'] = null,
)

Source from the content-addressed store, hash-verified

5import type { InstallSource, UpdateCache } from '#/cli/update/types';
6
7function cacheWith(
8 version: string | null,
9 manifest: UpdateCache['manifest'] = null,
10): UpdateCache {
11 return {
12 source: 'cdn',
13 checkedAt: '2026-04-23T08:00:00.000Z',
14 latest: version,
15 manifest,
16 };
17}
18
19function captureOutput(): {
20 stdout: string[];

Callers 1

createDepsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected