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

Function mkdir

packages/kaos/test/ssh.test.ts:500–506  ·  view source on GitHub ↗
(_path: string, cb: (err: Error | null) => void)

Source from the content-addressed store, hash-verified

498 cb(null);
499 },
500 mkdir(_path: string, cb: (err: Error | null) => void): void {
501 if (failing.mkdir === true) {
502 cb(makeSftpError(errorCode));
503 return;
504 }
505 cb(null);
506 },
507 readdir(_path: string, cb: (err: Error | null, list?: unknown[]) => void): void {
508 if (failing.readdir === true) {
509 cb(makeSftpError(errorCode));

Callers 1

local.test.tsFile · 0.70

Calls 1

makeSftpErrorFunction · 0.85

Tested by

no test coverage detected