mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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:
1 parent
3174bc14a2
commit
d65c90b545
1 file changed
+2
-2
+2
-2
@@ -3635,8 +3635,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.
|
||||
|
||||
|
||||
Reference in new issue
Block a user