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

Method _resolvePath

packages/kaos/src/ssh.ts:474–477  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

472 }
473
474 private _resolvePath(path: string): string {
475 if (isAbsolute(path)) return path;
476 return join(this._cwd, path);
477 }
478
479 /**
480 * Factory method to create an SSHKaos instance.

Callers 9

statMethod · 0.95
iterdirMethod · 0.95
globMethod · 0.95
readBytesMethod · 0.95
readTextMethod · 0.95
readLinesMethod · 0.95
writeBytesMethod · 0.95
writeTextMethod · 0.95
mkdirMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected