doc: remove "note that" from fs.md
Refs: https://github.com/nodejs/remark-preset-lint-node/pull/16 PR-URL: https://github.com/nodejs/node/pull/28329 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
parent
46b686e329
commit
2cd4a6f4b4
@ -3697,8 +3697,8 @@ conditions, `fs.write()` may write only part of the buffer and will need to be
|
||||
retried to write the remaining data, whereas `fs.writeFile()` will retry until
|
||||
the data is entirely written (or an error occurs).
|
||||
|
||||
Since the implications of this are a common source of confusion, note that in
|
||||
the file descriptor case the file is not replaced! The data is not necessarily
|
||||
The implications of this are a common source of confusion. In
|
||||
the file descriptor case, the file is not replaced! The data is not necessarily
|
||||
written to the beginning of the file, and the file's original data may remain
|
||||
before and/or after the newly written data.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user