mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
doc: remove "strongly recommended" as hedging in fs.md
PR-URL: https://github.com/nodejs/node/pull/28028 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
@@ -4020,7 +4020,7 @@ at the current position. See pwrite(2).
|
||||
|
||||
It is unsafe to use `filehandle.write()` multiple times on the same file
|
||||
without waiting for the `Promise` to be resolved (or rejected). For this
|
||||
scenario, [`fs.createWriteStream()`][] is strongly recommended.
|
||||
scenario, use [`fs.createWriteStream()`][].
|
||||
|
||||
On Linux, positional writes do not work when the file is opened in append mode.
|
||||
The kernel ignores the position argument and always appends the data to
|
||||
@@ -4051,7 +4051,7 @@ will be written at the current position. See pwrite(2).
|
||||
|
||||
It is unsafe to use `filehandle.write()` multiple times on the same file
|
||||
without waiting for the `Promise` to be resolved (or rejected). For this
|
||||
scenario, [`fs.createWriteStream()`][] is strongly recommended.
|
||||
scenario, use [`fs.createWriteStream()`][].
|
||||
|
||||
On Linux, positional writes do not work when the file is opened in append mode.
|
||||
The kernel ignores the position argument and always appends the data to
|
||||
|
||||
Reference in New Issue
Block a user