Note that multiple simultaneous calls to `fs.write` are unsafe #811

Closed
wants to merge 3 commits into
from

Conversation

Projects
None yet
2 participants

This patch updates the docs so that no one else has to bang their head against the wall as I did before I raised #808. It advises folks to use fs.createWriteStream instead of fs.write for repeated writes to the same file.

There are also two other changes to the docs in this patch: a typo fix, and a line in fs.writeFile clarifying that the existing file will be overwritten.

ry commented Mar 22, 2011

Doc fix for fs.write

Closed by 5e78f57
Closed by 5e78f57

ry closed this Mar 22, 2011

@coolaj86 coolaj86 pushed a commit that referenced this pull request Apr 15, 2011

@ry Trevor Burnham + ry Doc fix for fs.write
Closes GH-808
Closes GH-811
5e78f57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment