(path)
| 1136 | } |
| 1137 | }, |
| 1138 | async readFileBytes(path) { |
| 1139 | try { |
| 1140 | return await drainBytes(await fs.readFile(path)); |
| 1141 | } catch (err) { |
| 1142 | if (isEnoent(err)) return null; |
| 1143 | throw err; |
| 1144 | } |
| 1145 | }, |
| 1146 | async writeFile(path, content) { |
| 1147 | await fs.writeFile(path, content); |
| 1148 | }, |
nothing calls this directly
no test coverage detected