Repository navigation
doc: add section in fs to document mode argument #20049
Copy link
Copy link
Closed
Labels
docIssues and PRs related to Node.js documentation.Issues and PRs related to Node.js documentation.fsIssues and PRs related to file-system APIs and the fs module.Issues and PRs related to file-system APIs and the fs module.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.
Description
Activity
- addeddocIssues and PRs related to Node.js documentation.Issues and PRs related to Node.js documentation.fsIssues and PRs related to file-system APIs and the fs module.Issues and PRs related to file-system APIs and the fs module.
on Apr 15, 2018 Aren't these constants defined here?
Perhaps the documentation could link to the existing constants list.
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)
- addedgood first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.
on May 5, 2018 @trivikr I'm on it.
- added 4 commits that reference this issue
on May 6, 2018 - added a commit that references this issue
on May 12, 2018 - added a commit that references this issue
on Jul 27, 2026
Metadata
Metadata
Assignees
Labels
docIssues and PRs related to Node.js documentation.Issues and PRs related to Node.js documentation.fsIssues and PRs related to file-system APIs and the fs module.Issues and PRs related to file-system APIs and the fs module.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.
I noticed this while reviewing #20042
The description of
modeargument is repeated infs.access()andfs.accessSync(), and can be moved to a single location.WDYT @nodejs/fs? This would be a good first issue for a new contributor.