-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
Closed
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.fsIssues and PRs related to the fs subsystem / file system.Issues and PRs related to the fs subsystem / file system.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.
Description
- Version: All
- Platform: All
- Subsystem:
fs
The documentation for fs could use some work. Useful utilities like exists are being deprecated with nothing more than a note to use other operations and check the error. The problem is, there is no documentation for which errors you should expect to see. I know from experimentation that ENOENT seems to tell me that a file does not exist, but that is not documented.
If we just had a section explaining what a file system error looks like and a list of all of the codes, that would be a huge help in knowing how to properly write code for different scenarios.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.fsIssues and PRs related to the fs subsystem / file system.Issues and PRs related to the fs subsystem / file system.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.