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

Function fail

apps/vis/server/src/lib/zip-import.ts:64–67  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

62
63 return new Promise<string[]>((resolvePromise, reject) => {
64 const fail = (message: string): void => {
65 zip.close();
66 reject(new ZipImportError(message));
67 };
68
69 zip.readEntry();
70 zip.on('entry', (entry: Entry) => {

Callers 2

extractZipFunction · 0.70
startVisServerFunction · 0.50

Calls 2

rejectFunction · 0.85
closeMethod · 0.65

Tested by

no test coverage detected