Browse Source

doc: linkify remaining references to fs.Stats object

One reference to the `fs.Stats object` is linkified, while two other
similarly made references to the object are not linkified.
Linking the remaining references makes sense due to similar context.

PR-URL: https://github.com/nodejs/node/pull/6485
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
v4.x
Kevin Donahue 9 years ago
committed by Myles Borins
parent
commit
c9b144ddd4
  1. 10
      doc/api/fs.markdown

10
doc/api/fs.markdown

@ -438,8 +438,8 @@ Synchronous fdatasync(2). Returns `undefined`.
## fs.fstat(fd, callback) ## fs.fstat(fd, callback)
Asynchronous fstat(2). The callback gets two arguments `(err, stats)` where Asynchronous fstat(2). The callback gets two arguments `(err, stats)` where
`stats` is a `fs.Stats` object. `fstat()` is identical to [`stat()`][], except that `stats` is a [`fs.Stats`][] object. `fstat()` is identical to [`stat()`][],
the file to be stat-ed is specified by the file descriptor `fd`. except that the file to be stat-ed is specified by the file descriptor `fd`.
## fs.fstatSync(fd) ## fs.fstatSync(fd)
@ -504,9 +504,9 @@ Synchronous link(2). Returns `undefined`.
## fs.lstat(path, callback) ## fs.lstat(path, callback)
Asynchronous lstat(2). The callback gets two arguments `(err, stats)` where Asynchronous lstat(2). The callback gets two arguments `(err, stats)` where
`stats` is a `fs.Stats` object. `lstat()` is identical to `stat()`, except that if `stats` is a [`fs.Stats`][] object. `lstat()` is identical to `stat()`,
`path` is a symbolic link, then the link itself is stat-ed, not the file that it except that if `path` is a symbolic link, then the link itself is stat-ed,
refers to. not the file that it refers to.
## fs.lstatSync(path) ## fs.lstatSync(path)

Loading…
Cancel
Save