@@ -673,7 +673,7 @@ added: v10.0.0
673673* Returns: {Promise}
674674
675675Change the file system timestamps of the object referenced by the {FileHandle}
676- then resolves the promise with no arguments upon success.
676+ then fulfills the promise with no arguments upon success.
677677
678678#### ` filehandle .write (buffer, offset[, length[, position]])`
679679
@@ -699,14 +699,14 @@ changes:
699699
700700Write ` buffer` to the file.
701701
702- The promise is resolved with an object containing two properties:
702+ The promise is fulfilled with an object containing two properties:
703703
704704* ` bytesWritten` {integer} the number of bytes written
705705* ` buffer` {Buffer|TypedArray|DataView} a reference to the
706706 ` buffer` written.
707707
708708It is unsafe to use ` filehandle .write ()` multiple times on the same file
709- without waiting for the promise to be resolved (or rejected). For this
709+ without waiting for the promise to be fulfilled (or rejected). For this
710710scenario, use [` filehandle .createWriteStream ()` ][].
711711
712712On Linux, positional writes do not work when the file is opened in append mode.
@@ -756,13 +756,13 @@ changes:
756756Write ` string` to the file. If ` string` is not a string, the promise is
757757rejected with an error.
758758
759- The promise is resolved with an object containing two properties:
759+ The promise is fulfilled with an object containing two properties:
760760
761761* ` bytesWritten` {integer} the number of bytes written
762762* ` buffer` {string} a reference to the ` string` written.
763763
764764It is unsafe to use ` filehandle .write ()` multiple times on the same file
765- without waiting for the promise to be resolved (or rejected). For this
765+ without waiting for the promise to be fulfilled (or rejected). For this
766766scenario, use [` filehandle .createWriteStream ()` ][].
767767
768768On Linux, positional writes do not work when the file is opened in append mode.
@@ -793,14 +793,14 @@ changes:
793793
794794Asynchronously writes data to a file, replacing the file if it already exists.
795795` data` can be a string, a buffer, an {AsyncIterable}, or an {Iterable} object.
796- The promise is resolved with no arguments upon success.
796+ The promise is fulfilled with no arguments upon success.
797797
798798If ` options` is a string, then it specifies the ` encoding` .
799799
800800The {FileHandle} has to support writing.
801801
802802It is unsafe to use ` filehandle .writeFile ()` multiple times on the same file
803- without waiting for the promise to be resolved (or rejected).
803+ without waiting for the promise to be fulfilled (or rejected).
804804
805805If one or more ` filehandle .write ()` calls are made on a file handle and then a
806806` filehandle .writeFile ()` call is made, the data will be written from the
@@ -821,14 +821,14 @@ added: v12.9.0
821821
822822Write an array of {ArrayBufferView}s to the file.
823823
824- The promise is resolved with an object containing a two properties:
824+ The promise is fulfilled with an object containing a two properties:
825825
826826* ` bytesWritten` {integer} the number of bytes written
827827* ` buffers` {Buffer\[ ]|TypedArray\[ ]|DataView\[ ]} a reference to the ` buffers`
828828 input.
829829
830830It is unsafe to call ` writev ()` multiple times on the same file without waiting
831- for the promise to be resolved (or rejected).
831+ for the promise to be fulfilled (or rejected).
832832
833833On Linux, positional writes don't work when the file is opened in append mode.
834834The kernel ignores the position argument and always appends the data to
@@ -864,7 +864,7 @@ or a mask consisting of the bitwise OR of any of `fs.constants.R_OK`,
864864` fs .constants .W_OK | fs .constants .R_OK ` ). Check [File access constants][] for
865865possible values of ` mode` .
866866
867- If the accessibility check is successful, the promise is resolved with no
867+ If the accessibility check is successful, the promise is fulfilled with no
868868value. If any of the accessibility checks fail, the promise is rejected
869869with an {Error} object. The following example checks if the file
870870` / etc/ passwd` can be read and written by the current process.
@@ -1333,7 +1333,7 @@ object with an `encoding` property specifying the character encoding to use for
13331333the filenames. If the `encoding` is set to `'buffer'`, the filenames returned
13341334will be passed as {Buffer} objects.
13351335
1336- If `options.withFileTypes` is set to `true`, the resolved array will contain
1336+ If `options.withFileTypes` is set to `true`, the returned array will contain
13371337{fs.Dirent} objects.
13381338
13391339```mjs
@@ -1447,7 +1447,7 @@ added: v10.0.0
14471447* Returns: {Promise} Fulfills with the `linkString` upon success.
14481448
14491449Reads the contents of the symbolic link referred to by `path`. See the POSIX
1450- readlink(2) documentation for more detail. The promise is resolved with the
1450+ readlink(2) documentation for more detail. The promise is fulfilled with the
14511451`linkString` upon success.
14521452
14531453The optional `options` argument can be a string specifying an encoding, or an
@@ -6355,7 +6355,7 @@ added: v12.12.0
63556355Asynchronously close the directory' s underlying resource handle.
63566356Subsequent reads will result in errors.
63576357
6358- A promise is returned that will be resolved after the resource has been
6358+ A promise is returned that will be fulfilled after the resource has been
63596359closed.
63606360
63616361#### ` dir.close(callback)`
@@ -6409,7 +6409,7 @@ added: v12.12.0
64096409Asynchronously read the next directory entry via readdir (3 ) as an
64106410{fs .Dirent }.
64116411
6412- A promise is returned that will be resolved with an {fs .Dirent }, or ` null`
6412+ A promise is returned that will be fulfilled with an {fs .Dirent }, or ` null`
64136413if there are no more directory entries to read.
64146414
64156415Directory entries returned by this function are in no particular order as
0 commit comments