mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
doc: correct added: information for fs.access
fs.access and fs.accessSync were added to Node v0.11.15 via 2944934
PR-URL: https://github.com/nodejs/node/pull/7299
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Ref: https://github.com/nodejs/node/pull/6717
Ref: https://github.com/nodejs/node/issues/6578
This commit is contained in:
1 parent
1e9d27cbcc
commit
fd4aa6c16a
1 file changed
+2
-2
+2
-2
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user