标签: node.js filesystems rename
调用fs.rename后(fs.writeFile之前)callback文件是否安全?
fs.rename
fs.writeFile
callback
documentation没有回答这个问题,它只说:
Note that it is unsafe to use fs.write multiple times on the same file without waiting for the callback.