Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
doc: use 'an' instead of 'a' and remove redundant sentence
  • Loading branch information
zeke committed Oct 28, 2016
commit 509d75e5f08453199f20de1815e84889b7aed90f
5 changes: 2 additions & 3 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ added: v0.1.95
* `callback` {Function}

Asynchronous fstat(2). The callback gets two arguments `(err, stats)` where
`stats` is a [`fs.Stats`][] object. `fstat()` is identical to [`stat()`][],
`stats` is an [`fs.Stats`][] object. `fstat()` is identical to [`stat()`][],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The a -> an seems unrelated to the rest of the PR.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, just split this to a separate commit in this PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

except that the file to be stat-ed is specified by the file descriptor `fd`.

## fs.fstatSync(fd)
Expand Down Expand Up @@ -1521,8 +1521,7 @@ added: v0.0.2
* `callback` {Function}

Asynchronous stat(2). The callback gets two arguments `(err, stats)` where
`stats` is a [`fs.Stats`][] object. See the [`fs.Stats`][] section for more
information.
`stats` is an [`fs.Stats`][] object.

In case of an error, the `err.code` will be one of [Common System Errors][].

Expand Down