@@ -746,10 +746,9 @@ changes:
746
746
747
747
Tests a user's permissions for the file or directory specified by ` path ` .
748
748
The ` mode ` argument is an optional integer that specifies the accessibility
749
- checks to be performed. Check
750
- [ ` File Access Contants ` ] ( #fs_file_access_constants ) for possible values of
751
- ` mode ` . It is possible to create a mask consisting of the bitwise OR of two or
752
- more values (e.g. ` fs.constants.W_OK | fs.constants.R_OK ` ).
749
+ checks to be performed. Check [ File Access Constants] [ ] for possible values
750
+ of ` mode ` . It is possible to create a mask consisting of the bitwise OR of
751
+ two or more values (e.g. ` fs.constants.W_OK | fs.constants.R_OK ` ).
753
752
754
753
The final argument, ` callback ` , is a callback function that is invoked with
755
754
a possible error argument. If any of the accessibility checks fail, the error
@@ -882,11 +881,12 @@ changes:
882
881
* ` path ` {string|Buffer|URL}
883
882
* ` mode ` {integer} ** Default:** ` fs.constants.F_OK `
884
883
885
- Synchronously tests a user's permissions for the file or directory specified by
886
- ` path ` . The ` mode ` argument is an optional integer that specifies the
887
- accessibility checks to be performed. Check [ ` File Access Contants ` ] ( #fs_file_access_constants ) for
888
- possible values of ` mode ` . It is possible to create a mask consisting of the
889
- bitwise OR of two or more values (e.g. ` fs.constants.W_OK | fs.constants.R_OK ` ).
884
+ Synchronously tests a user's permissions for the file or directory specified
885
+ by ` path ` . The ` mode ` argument is an optional integer that specifies the
886
+ accessibility checks to be performed. Check [ File Access Constants] [ ] for
887
+ possible values of ` mode ` . It is possible to create a mask consisting of
888
+ the bitwise OR of two or more values
889
+ (e.g. ` fs.constants.W_OK | fs.constants.R_OK ` ).
890
890
891
891
If any of the accessibility checks fail, an ` Error ` will be thrown. Otherwise,
892
892
the method will return ` undefined ` .
@@ -4316,7 +4316,7 @@ The following constants are meant for use with [`fs.access()`][].
4316
4316
<td><code>F_OK</code></td>
4317
4317
<td>Flag indicating that the file is visible to the calling process.
4318
4318
This is useful for determining if a file exists, but says nothing
4319
- about rwx permissions. Default if no mode is specified.</td>
4319
+ about <code> rwx</code> permissions. Default if no mode is specified.</td>
4320
4320
</tr >
4321
4321
<tr >
4322
4322
<td><code>R_OK</code></td>
@@ -4331,7 +4331,7 @@ The following constants are meant for use with [`fs.access()`][].
4331
4331
<td><code>X_OK</code></td>
4332
4332
<td>Flag indicating that the file can be executed by the calling
4333
4333
process. This has no effect on Windows
4334
- (will behave like fs.constants.F_OK).</td>
4334
+ (will behave like <code> fs.constants.F_OK</code> ).</td>
4335
4335
</tr >
4336
4336
</table >
4337
4337
@@ -4694,3 +4694,4 @@ the file contents.
4694
4694
[ Naming Files, Paths, and Namespaces ] : https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx
4695
4695
[ MSDN-Using-Streams ] : https://msdn.microsoft.com/en-us/library/windows/desktop/bb540537.aspx
4696
4696
[ support of file system `flags` ] : #fs_file_system_flags
4697
+ [ File Access Constants ] : #fs_file_access_constants
0 commit comments