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

Function ensureBlobExists

apps/kimi-code/scripts/native/03-inject.mjs:19–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17}
18
19async function ensureBlobExists() {
20 try {
21 await stat(nativeBlobPath());
22 } catch {
23 fail(`SEA blob not found at ${nativeBlobPath()}. Run 02-sea-blob.mjs first.`);
24 }
25}
26
27async function copyNodeExecutable(target) {
28 await mkdir(nativeBinDir(target), { recursive: true });

Callers 1

runInjectStepFunction · 0.85

Calls 3

nativeBlobPathFunction · 0.90
failFunction · 0.90
statFunction · 0.50

Tested by

no test coverage detected