Uh oh!
There was an error while loading. Please reload this page.
doc: updates fs doc ( refactors file access constants ) - #20558
doc: updates fs doc ( refactors file access constants )#20558shobhitchittora wants to merge 4 commits into
Conversation
1. removed extra mode constants doc 2. creates bookmark to the common File Access Contants block. Closes: nodejs#20049
| <td>Flag indicating that the file is visible to the calling process.</td> | ||
| <td>Flag indicating that the file is visible to the calling process. | ||
| This is useful for determining if a file exists, but says nothing | ||
| about rwx permissions. Default if no mode is specified.</td> |
There was a problem hiding this comment.
Hey @trivikr. I don't think markdown highlight `` will work inside HTML tags. Refer - https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#inline-html
There was a problem hiding this comment.
You can use <code></code> here and below.
| <td>Flag indicating that the file can be executed by the calling | ||
| process.</td> | ||
| process. This has no effect on Windows | ||
| (will behave like fs.constants.F_OK).</td> |
There was a problem hiding this comment.
fs.constants.F_OK -> fs.constants.F_OK
trivikr
commented
May 6, 2018
@nodejs/fs @nodejs/documentation |
| The `mode` argument is an optional integer that specifies the accessibility | ||
| checks to be performed. The following constants define the possible values of | ||
| checks to be performed. Check | ||
| [`File Access Contants`](#fs_file_access_constants) for possible values of |
There was a problem hiding this comment.
Also, [`File Access Contants`] -> just [File Access Contants] (as this is not a code)?
| Synchronously tests a user's permissions for the file or directory specified by | ||
| `path`. The `mode` argument is an optional integer that specifies the | ||
| accessibility checks to be performed. The following constants define the | ||
| accessibility checks to be performed. Check [`File Access Contants`](#fs_file_access_constants) for |
There was a problem hiding this comment.
- Contants -> Constants
- This line needs to be wrapped at 80 characters. Or you can create a bottom reference and use
[File Access Constants][].
| <td>Flag indicating that the file is visible to the calling process.</td> | ||
| <td>Flag indicating that the file is visible to the calling process. | ||
| This is useful for determining if a file exists, but says nothing | ||
| about rwx permissions. Default if no mode is specified.</td> |
There was a problem hiding this comment.
You can use <code></code> here and below.
vsemozhetbyt
commented
May 6, 2018
There is one more repetition in the |
1. use <code> tag 2. bottom bookmark for File Access Constants 3. typo fix Closes: nodejs#20049
shobhitchittora
commented
May 7, 2018
@vsemozhetbyt done for |
trivikr
left a comment
There was a problem hiding this comment.
Verified the update in private branch
| * `fs.constants.W_OK` - `path` can be written by the calling process. | ||
| * `fs.constants.X_OK` - `path` can be executed by the calling process. This has | ||
| no effect on Windows (will behave like `fs.constants.F_OK`). | ||
| checks to be performed. Check [File Access Constants][] for possible values |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
vsemozhetbyt
commented
May 7, 2018
vsemozhetbyt
commented
May 7, 2018
Node.js Collaborators, please, add 👍 here if you approve fast-tracking. |
vsemozhetbyt
commented
May 8, 2018
Landed in a76dfd2 |
fs.accessandfs.accessSync.Closes: #20049