Skip to content

Commit

Permalink
doc: fix "referred to" in fs docs
Browse files Browse the repository at this point in the history
PR-URL: #37388
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Harshitha K P <harshitha014@gmail.com>
Reviewed-By: Pooja D P <Pooja.D.P@ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
tniessen authored and targos committed Sep 4, 2021
1 parent 3b9fa24 commit 67ac6b3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,7 @@ added: v10.0.0
* `encoding` {string} **Default:** `'utf8'`
* Returns: {Promise} Fulfills with the `linkString` upon success.
Reads the contents of the symbolic link refered to by `path`. See the POSIX
Reads the contents of the symbolic link referred to by `path`. See the POSIX
readlink(2) documentation for more etail. The promise is resolved with the
`linkString` upon success.
Expand Down Expand Up @@ -2456,7 +2456,7 @@ changes:
* `err` {Error}
* `stats` {fs.Stats}
Retrieves the {fs.Stats} for the symbolic link refered to by the path.
Retrieves the {fs.Stats} for the symbolic link referred to by the path.
The callback gets two arguments `(err, stats)` where `stats` is a {`fs.Stats}
object. `lstat()` is identical to `stat()`, except that if `path` is a symbolic
link, then the link itself is stat-ed, not the file that it refers to.
Expand Down Expand Up @@ -2960,7 +2960,7 @@ changes:
* `err` {Error}
* `linkString` {string|Buffer}

Reads the contents of the symbolic link refered to by `path`. The callback gets
Reads the contents of the symbolic link referred to by `path`. The callback gets
two arguments `(err, linkString)`.

See the POSIX readlink(2) documentation for more details.
Expand Down Expand Up @@ -4403,7 +4403,7 @@ changes:
**Default:** `true`.
* Returns: {fs.Stats}
Retrieves the {fs.Stats} for the symbolic link refered to by `path`.
Retrieves the {fs.Stats} for the symbolic link referred to by `path`.
See the POSIX lstat(2) documentation for more details.
Expand Down

0 comments on commit 67ac6b3

Please sign in to comment.