-
-
Notifications
You must be signed in to change notification settings - Fork 37.1k
Missing documentation in fs.StatFs #50749
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
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.
Affected URL(s)
https://nodejs.org/api/fs.html#class-fsstatfs
Description of the problem
statfs.bsizefails to mention if the size is reported in bits or bytesstatfs.bavailandstatfs.bfreecan be used to calculate available and free space, it would be appropriate to put an example on how to use themExample:
statfs.blocksandstatfs.fileswould strongly benefit from an examplestatfs.typeand why is it a number?