在fs.writeFile之后立即fs.rename

时间:2013-06-11 21:56:06

标签: node.js filesystems rename

调用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.

0 个答案:

没有答案