Does fs.createWriteStream create a new file if it doesn't exist and continuing writing from existing file with same name?

前端 未结 0 1363
长情又很酷
长情又很酷 2021-01-05 07:53

If I\'m calling fs.createWriteStream("app.log", { flags: "w" }) does it create a new "app.log" file if it doesn\'t exist. Otherwis

相关标签:
回答
  • 消灭零回复
提交回复
热议问题