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

Function realpath

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

Source from the content-addressed store, hash-verified

352 function makeFakeSftp(target: string, isDir: boolean): unknown {
353 return {
354 realpath(_path: string, cb: (err: Error | null | undefined, absPath: string) => void): void {
355 cb(null, target);
356 },
357 stat(
358 _path: string,
359 cb: (err: Error | null | undefined, stats: Record<string, unknown>) => void,

Callers 5

local.test.tsFile · 0.70
prompt.e2e.test.tsFile · 0.50
runPluginNodeEntryFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected