(path: string)
| 35 | } |
| 36 | |
| 37 | async readFileBytes(path: string): Promise<Uint8Array> { |
| 38 | const bytes = await this.ws.readFileBytes(path); |
| 39 | if (bytes === null) { |
| 40 | throw enoent(path); |
| 41 | } |
| 42 | return bytes; |
| 43 | } |
| 44 | |
| 45 | async writeFile(path: string, content: string): Promise<void> { |
| 46 | await this.ws.writeFile(path, content); |
nothing calls this directly
no test coverage detected