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

Method writeBytes

packages/kaos/src/ssh.ts:747–750  ·  view source on GitHub ↗
(path: string, data: Buffer)

Source from the content-addressed store, hash-verified

745 }
746
747 async writeBytes(path: string, data: Buffer): Promise<number> {
748 await sftpWriteFile(this._sftp, this._resolvePath(path), data);
749 return data.length;
750 }
751
752 async writeText(
753 path: string,

Callers

nothing calls this directly

Calls 2

_resolvePathMethod · 0.95
sftpWriteFileFunction · 0.85

Tested by

no test coverage detected