Skip to content

Commit

Permalink
doc: correct added: information for fs.access
Browse files Browse the repository at this point in the history
fs.access and fs.accessSync were added to Node v0.11.15 via 2944934

PR-URL: #7299
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Ref: #6717
Ref: #6578
  • Loading branch information
richardlau authored and Myles Borins committed Jul 12, 2016
1 parent dd800bd commit 03ff2f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ The path to the file the stream is writing to.

## fs.access(path[, mode], callback)
<!-- YAML
added: v1.0.0
added: v0.11.15
-->

Tests a user's permissions for the file specified by `path`. `mode` is an
Expand Down Expand Up @@ -302,7 +302,7 @@ fs.access('/etc/passwd', fs.R_OK | fs.W_OK, (err) => {

## fs.accessSync(path[, mode])
<!-- YAML
added: v0.1.93
added: v0.11.15
-->

Synchronous version of [`fs.access()`][]. This throws if any accessibility checks
Expand Down

0 comments on commit 03ff2f9

Please sign in to comment.