@@ -657,7 +657,7 @@ added: v10.0.0
657657* Returns: {Promise}
658658
659659Change the file system timestamps of the object referenced by the {FileHandle}
660- then resolves the promise with no arguments upon success.
660+ then fulfills the promise with no arguments upon success.
661661
662662#### ` filehandle .write (buffer, offset[, length[, position]])`
663663
@@ -683,14 +683,14 @@ changes:
683683
684684Write ` buffer` to the file.
685685
686- The promise is resolved with an object containing two properties:
686+ The promise is fulfilled with an object containing two properties:
687687
688688* ` bytesWritten` {integer} the number of bytes written
689689* ` buffer` {Buffer|TypedArray|DataView} a reference to the
690690 ` buffer` written.
691691
692692It is unsafe to use ` filehandle .write ()` multiple times on the same file
693- without waiting for the promise to be resolved (or rejected). For this
693+ without waiting for the promise to be fulfilled (or rejected). For this
694694scenario, use [` filehandle .createWriteStream ()` ][].
695695
696696On Linux, positional writes do not work when the file is opened in append mode.
@@ -740,13 +740,13 @@ changes:
740740Write ` string` to the file. If ` string` is not a string, the promise is
741741rejected with an error.
742742
743- The promise is resolved with an object containing two properties:
743+ The promise is fulfilled with an object containing two properties:
744744
745745* ` bytesWritten` {integer} the number of bytes written
746746* ` buffer` {string} a reference to the ` string` written.
747747
748748It is unsafe to use ` filehandle .write ()` multiple times on the same file
749- without waiting for the promise to be resolved (or rejected). For this
749+ without waiting for the promise to be fulfilled (or rejected). For this
750750scenario, use [` filehandle .createWriteStream ()` ][].
751751
752752On Linux, positional writes do not work when the file is opened in append mode.
@@ -777,14 +777,14 @@ changes:
777777
778778Asynchronously writes data to a file, replacing the file if it already exists.
779779` data` can be a string, a buffer, an {AsyncIterable}, or an {Iterable} object.
780- The promise is resolved with no arguments upon success.
780+ The promise is fulfilled with no arguments upon success.
781781
782782If ` options` is a string, then it specifies the ` encoding` .
783783
784784The {FileHandle} has to support writing.
785785
786786It is unsafe to use ` filehandle .writeFile ()` multiple times on the same file
787- without waiting for the promise to be resolved (or rejected).
787+ without waiting for the promise to be fulfilled (or rejected).
788788
789789If one or more ` filehandle .write ()` calls are made on a file handle and then a
790790` filehandle .writeFile ()` call is made, the data will be written from the
@@ -805,14 +805,14 @@ added: v12.9.0
805805
806806Write an array of {ArrayBufferView}s to the file.
807807
808- The promise is resolved with an object containing a two properties:
808+ The promise is fulfilled with an object containing a two properties:
809809
810810* ` bytesWritten` {integer} the number of bytes written
811811* ` buffers` {Buffer\[ ]|TypedArray\[ ]|DataView\[ ]} a reference to the ` buffers`
812812 input.
813813
814814It is unsafe to call ` writev ()` multiple times on the same file without waiting
815- for the promise to be resolved (or rejected).
815+ for the promise to be fulfilled (or rejected).
816816
817817On Linux, positional writes don't work when the file is opened in append mode.
818818The kernel ignores the position argument and always appends the data to
@@ -846,7 +846,7 @@ or a mask consisting of the bitwise OR of any of `fs.constants.R_OK`,
846846` fs .constants .W_OK | fs .constants .R_OK ` ). Check [File access constants][] for
847847possible values of ` mode` .
848848
849- If the accessibility check is successful, the promise is resolved with no
849+ If the accessibility check is successful, the promise is fulfilled with no
850850value. If any of the accessibility checks fail, the promise is rejected
851851with an {Error} object. The following example checks if the file
852852` / etc/ passwd` can be read and written by the current process.
@@ -1309,7 +1309,7 @@ object with an `encoding` property specifying the character encoding to use for
13091309the filenames. If the `encoding` is set to `'buffer'`, the filenames returned
13101310will be passed as {Buffer} objects.
13111311
1312- If `options.withFileTypes` is set to `true`, the resolved array will contain
1312+ If `options.withFileTypes` is set to `true`, the returned array will contain
13131313{fs.Dirent} objects.
13141314
13151315```mjs
@@ -1423,7 +1423,7 @@ added: v10.0.0
14231423* Returns: {Promise} Fulfills with the `linkString` upon success.
14241424
14251425Reads the contents of the symbolic link referred to by `path`. See the POSIX
1426- readlink(2) documentation for more detail. The promise is resolved with the
1426+ readlink(2) documentation for more detail. The promise is fulfilled with the
14271427`linkString` upon success.
14281428
14291429The optional `options` argument can be a string specifying an encoding, or an
@@ -6319,7 +6319,7 @@ added: v12.12.0
63196319Asynchronously close the directory' s underlying resource handle.
63206320Subsequent reads will result in errors.
63216321
6322- A promise is returned that will be resolved after the resource has been
6322+ A promise is returned that will be fulfilled after the resource has been
63236323closed.
63246324
63256325#### ` dir.close(callback)`
@@ -6373,7 +6373,7 @@ added: v12.12.0
63736373Asynchronously read the next directory entry via readdir (3 ) as an
63746374{fs .Dirent }.
63756375
6376- A promise is returned that will be resolved with an {fs .Dirent }, or ` null`
6376+ A promise is returned that will be fulfilled with an {fs .Dirent }, or ` null`
63776377if there are no more directory entries to read.
63786378
63796379Directory entries returned by this function are in no particular order as
0 commit comments