Skip to content

doc: improve fs.StatFs documentation with examples and clarificationsdoc: improve fs.StatFs documentationdoc: improve fs.StatFs documentat…#59626

Closed
DHANUSHRAJA22 wants to merge 1 commit intonodejs:mainfrom
DHANUSHRAJA22:improve-statfs-docs
Closed

Conversation

@DHANUSHRAJA22
Copy link

…ion with examples and clarificationsUpdate fs.md

  • Address issue Missing documentation in fs.StatFs #50749 about missing documentation in fs.StatFs
  • Add clarification that bsize is in bytes, not bits
  • Include examples for calculating available/free space using bavail and bfree
  • Add examples for blocks and files properties
  • Explain what statfs.type represents and why it's numeric

Fixes #50749

…ion with examples and clarificationsUpdate fs.md

- Address issue nodejs#50749 about missing documentation in fs.StatFs
- Add clarification that bsize is in bytes, not bits  
- Include examples for calculating available/free space using bavail and bfree
- Add examples for blocks and files properties
- Explain what statfs.type represents and why it's numeric

Fixes nodejs#50749
@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to the documentations. fs Issues and PRs related to the fs subsystem / file system. labels Aug 25, 2025
@DHANUSHRAJA22 DHANUSHRAJA22 deleted the improve-statfs-docs branch August 27, 2025 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Issues and PRs related to the documentations. fs Issues and PRs related to the fs subsystem / file system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing documentation in fs.StatFs

2 participants