From 3c3d1ab828abd48104d2b087d4cf123b9aec0fa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Tue, 16 Feb 2021 04:20:56 +0100 Subject: [PATCH] doc: fix "referred to" in fs docs PR-URL: https://github.com/nodejs/node/pull/37388 Reviewed-By: Gireesh Punathil Reviewed-By: Rich Trott Reviewed-By: Harshitha K P Reviewed-By: Pooja D P Reviewed-By: Luigi Pinca Reviewed-By: Richard Lau Reviewed-By: Darshan Sen Reviewed-By: Colin Ihrig Reviewed-By: Zijian Liu Reviewed-By: James M Snell --- doc/api/fs.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/api/fs.md b/doc/api/fs.md index 2d179c89396cc9..3790cdf2bc2b22 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -998,7 +998,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. @@ -2459,7 +2459,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. @@ -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. @@ -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.