* Writes a file synchronously. * @param {string} filePath The path to write * @param {Buffer|string} data The data to write * @param {object} [options] Options
(filePath, data, options)
| 269 | * @param {object} [options] Options |
| 270 | */ |
| 271 | writeFileSync(filePath, data, options) { |
| 272 | const providerPath = this.#toProviderPath(filePath); |
| 273 | this[kProvider].writeFileSync(providerPath, data, options); |
| 274 | } |
| 275 | |
| 276 | /** |
| 277 | * Appends to a file synchronously. |
nothing calls this directly
no test coverage detected