You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found a small mistake in the documentation for fs.lstat. It looks like a backtick was misplaced somewhere.
How it is:
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 tostat(), except that if path` is a symbolic link, then the link itself is stat-ed, not the file that it refers to.
Retrieves the [<fs.Stats>](https://nodejs.org/api/fs.html#fs_class_fs_stats) for the symbolic link referred to by the path. The
callback gets two arguments `(err, stats)` where stats is a {`fs.Stats<!-- Missing backtick here -->} 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.
How it should be:
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 tostat(), except that if path is a symbolic link, then the link itself is stat-ed, not the file that it refers to.
Retrieves the [<fs.Stats>](https://nodejs.org/api/fs.html#fs_class_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.
I can only assume that the documentation is in markdown, so I have given markdown code.
The text was updated successfully, but these errors were encountered:
Ayase-252
added
doc
Issues and PRs related to the documentations.
fs
Issues and PRs related to the fs subsystem / file system.
labels
Apr 16, 2021
I found a small mistake in the documentation for
fs.lstat
. It looks like a backtick was misplaced somewhere.How it is:
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.How it should be:
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 tostat()
, except that ifpath
is a symbolic link, then the link itself is stat-ed, not the file that it refers to.I can only assume that the documentation is in markdown, so I have given markdown code.
The text was updated successfully, but these errors were encountered: