* Writes data to the file (replacing content). * @param {Buffer|string} data The data to write * @param {object} [options] Options * @returns {Promise }
(data, options)
| 183 | * @returns {Promise<void>} |
| 184 | */ |
| 185 | async writeFile(data, options) { |
| 186 | this.#checkClosed('write'); |
| 187 | throw new ERR_METHOD_NOT_IMPLEMENTED('writeFile'); |
| 188 | } |
| 189 | |
| 190 | /** |
| 191 | * Writes data to the file synchronously (replacing content). |
nothing calls this directly
no test coverage detected