* Writes data to the file (replacing content). * @param {Buffer|string} data The data to write * @param {object} [options] Options * @returns {Promise }
(data, options)
| 646 | * @returns {Promise<void>} |
| 647 | */ |
| 648 | async writeFile(data, options) { |
| 649 | this.writeFileSync(data, options); |
| 650 | } |
| 651 | |
| 652 | /** |
| 653 | * Gets file stats synchronously. |
nothing calls this directly
no test coverage detected