Browse Source

Clarifying that writeFile replaces existing file

v0.7.4-release
Trevor Burnham 14 years ago
committed by Ryan Dahl
parent
commit
f0d0fcc4aa
  1. 3
      doc/api/fs.markdown

3
doc/api/fs.markdown

@ -290,7 +290,8 @@ returns a buffer.
### fs.writeFile(filename, data, encoding='utf8', [callback])
Asynchronously writes data to a file. `data` can be a string or a buffer.
Asynchronously writes data to a file, replacing the file if it already exists.
`data` can be a string or a buffer.
Example:

Loading…
Cancel
Save