Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
stat
Method · 0.95
iterdir
Method · 0.95
glob
Method · 0.95
readBytes
Method · 0.95
readText
Method · 0.95
readLines
Method · 0.95
writeBytes
Method · 0.95
writeText
Method · 0.95
mkdir
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected