(
path: string,
options?: ReadFileOptions | BufferEncoding
)
| 210 | // ── FileSystem interface ─────────────────────────────────────────── |
| 211 | |
| 212 | async readFile( |
| 213 | path: string, |
| 214 | options?: ReadFileOptions | BufferEncoding |
| 215 | ): Promise<string> { |
| 216 | return fromBuffer(await this.readFileBytes(path), getEncoding(options)); |
| 217 | } |
| 218 | |
| 219 | async readFileBytes(path: string): Promise<Uint8Array> { |
| 220 | validatePath(path, "open"); |
nothing calls this directly
no test coverage detected