-
-
Notifications
You must be signed in to change notification settings - Fork 35.3k
Missing documentation in fs.StatFs #50749
Copy link
Copy link
Open
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.
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.
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?