Skip to main content
使用 Bun.write() 将文件复制到磁盘上的另一个位置。第一个参数是_目标位置_,例如绝对路径或 BunFile 实例。第二个参数是要写入的_数据_。

请参阅 Bun.write()