@@ -613,7 +613,7 @@ The promise is resolved with an object containing two properties:
613613
614614It is unsafe to use ` filehandle .write ()` multiple times on the same file
615615without waiting for the promise to be resolved (or rejected). For this
616- scenario, use [` fs .createWriteStream ()` ][].
616+ scenario, use [` filehandle .createWriteStream ()` ][].
617617
618618On Linux, positional writes do not work when the file is opened in append mode.
619619The kernel ignores the position argument and always appends the data to
@@ -648,7 +648,7 @@ The promise is resolved with an object containing two properties:
648648
649649It is unsafe to use ` filehandle .write ()` multiple times on the same file
650650without waiting for the promise to be resolved (or rejected). For this
651- scenario, use [` fs .createWriteStream ()` ][].
651+ scenario, use [` filehandle .createWriteStream ()` ][].
652652
653653On Linux, positional writes do not work when the file is opened in append mode.
654654The kernel ignores the position argument and always appends the data to
@@ -1547,7 +1547,7 @@ without waiting for the promise to be settled.
15471547Similarly to `fsPromises.readFile` - `fsPromises.writeFile` is a convenience
15481548method that performs multiple `write` calls internally to write the buffer
15491549passed to it. For performance sensitive code consider using
1550- [`fs.createWriteStream()`][].
1550+ [`fs.createWriteStream()`][] or [`filehandle.createWriteStream()`][] .
15511551
15521552It is possible to use an {AbortSignal} to cancel an `fsPromises.writeFile()`.
15531553Cancelation is " best effort" , and some amount of data is likely still
@@ -7471,6 +7471,7 @@ the file contents.
74717471[` ReadDirectoryChangesW` ]: https://docs.microsoft.com/en-us/windows/desktop/api/winbase/nf-winbase-readdirectorychangesw
74727472[` UV_THREADPOOL_SIZE ` ]: cli.md#uv_threadpool_sizesize
74737473[` event ports` ]: https://illumos.org/man/port_create
7474+ [` filehandle .createWriteStream ()` ]: #filehandlecreatewritestreamoptions
74747475[` filehandle .writeFile ()` ]: #filehandlewritefiledata-options
74757476[` fs .access ()` ]: #fsaccesspath-mode-callback
74767477[` fs .accessSync ()` ]: #fsaccesssyncpath-mode
0 commit comments