(path: string, n?: number)
| 707 | // ── File operations (async) ──────────────────────────────────────── |
| 708 | |
| 709 | async readBytes(path: string, n?: number): Promise<Buffer> { |
| 710 | const data = await sftpReadFile(this._sftp, this._resolvePath(path)); |
| 711 | if (n === undefined) return data; |
| 712 | return data.subarray(0, n); |
| 713 | } |
| 714 | |
| 715 | async readText( |
| 716 | path: string, |
nothing calls this directly
no test coverage detected