@@ -829,7 +829,7 @@ added: v0.1.93
829829-->
830830
831831The path to the file the stream is writing to as specified in the first
832- argument to ` fs.createWriteStream() ` . If ` path ` is passed as a string, then
832+ argument to [ ` fs.createWriteStream() ` ] [ ] . If ` path ` is passed as a string, then
833833` writeStream.path ` will be a string. If ` path ` is passed as a ` Buffer ` , then
834834` writeStream.path ` will be a ` Buffer ` .
835835
@@ -3433,7 +3433,8 @@ If this method is invoked as its [`util.promisify()`][]ed version, it returns
34333433a ` Promise ` for an ` Object ` with ` bytesWritten ` and ` buffer ` properties.
34343434
34353435It is unsafe to use ` fs.write() ` multiple times on the same file without waiting
3436- for the callback. For this scenario, ` fs.createWriteStream() ` is recommended.
3436+ for the callback. For this scenario, [ ` fs.createWriteStream() ` ] [ ] is
3437+ recommended.
34373438
34383439On Linux, positional writes don't work when the file is opened in append mode.
34393440The kernel ignores the position argument and always appends the data to
@@ -3480,7 +3481,8 @@ written is not necessarily the same as string characters written. See
34803481[ ` Buffer.byteLength ` ] [ ] .
34813482
34823483It is unsafe to use ` fs.write() ` multiple times on the same file without waiting
3483- for the callback. For this scenario, ` fs.createWriteStream() ` is recommended.
3484+ for the callback. For this scenario, [ ` fs.createWriteStream() ` ] [ ] is
3485+ recommended.
34843486
34853487On Linux, positional writes don't work when the file is opened in append mode.
34863488The kernel ignores the position argument and always appends the data to
@@ -3541,7 +3543,7 @@ fs.writeFile('message.txt', 'Hello Node.js', 'utf8', callback);
35413543Any specified file descriptor has to support writing.
35423544
35433545It is unsafe to use ` fs.writeFile() ` multiple times on the same file without
3544- waiting for the callback. For this scenario, ` fs.createWriteStream() ` is
3546+ waiting for the callback. For this scenario, [ ` fs.createWriteStream() ` ] [ ] is
35453547recommended.
35463548
35473549If a file descriptor is specified as the ` file ` , it will not be closed
@@ -3910,7 +3912,7 @@ at the current position. See pwrite(2).
39103912
39113913It is unsafe to use ` filehandle.write() ` multiple times on the same file
39123914without waiting for the ` Promise ` to be resolved (or rejected). For this
3913- scenario, ` fs.createWriteStream ` is strongly recommended.
3915+ scenario, [ ` fs.createWriteStream() ` ] [ ] is strongly recommended.
39143916
39153917On Linux, positional writes do not work when the file is opened in append mode.
39163918The kernel ignores the position argument and always appends the data to
@@ -4792,6 +4794,7 @@ the file contents.
47924794[ `fs.chmod()` ] : #fs_fs_chmod_path_mode_callback
47934795[ `fs.chown()` ] : #fs_fs_chown_path_uid_gid_callback
47944796[ `fs.copyFile()` ] : #fs_fs_copyfile_src_dest_flags_callback
4797+ [ `fs.createWriteStream()` ] : #fs_fs_createwritestream_path_options
47954798[ `fs.exists()` ] : fs.html#fs_fs_exists_path_callback
47964799[ `fs.fstat()` ] : #fs_fs_fstat_fd_options_callback
47974800[ `fs.ftruncate()` ] : #fs_fs_ftruncate_fd_len_callback
0 commit comments