You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
doc: add section in fs to document mode argument #20049
I noticed this while reviewing #20042
The description of mode argument is repeated in fs.access() and fs.accessSync(), and can be moved to a single location.
WDYT @nodejs/fs? This would be a good first issue for a new contributor.
Activity
musgravejw commentedon May 5, 2018
Aren't these constants defined here?
Perhaps the documentation could link to the existing constants list.
trivikr commentedon May 5, 2018
Yup.
But the following values will have to be added to the table:
F_OK- This is useful for determining if a file exists, but says nothing aboutrwxpermissions. Default if nomodeis specified.X_OK- This has no effect on Windows (will behave likeF_OK)shobhitchittora commentedon May 6, 2018
@trivikr I'm on it.
doc: updates fs doc with -
doc: review comments
doc: removes repetition for fsPromises.access
doc: grammar fix ( adds 'of' ).
doc: refactor mode constants parts in fs.md
doc: refactor mode constants parts in fs.md