filehandle.appendFile(data[, options])


filehandle.writeFile() 的别名。

🌐 Alias of filehandle.writeFile().

在操作文件句柄时,模式不能从使用 fsPromises.open() 设置的状态更改。因此,这相当于 filehandle.writeFile()

🌐 When operating on file handles, the mode cannot be changed from what it was set to with fsPromises.open(). Therefore, this is equivalent to filehandle.writeFile().