doc: update documentation in fs.StatsFs#54309
doc: update documentation in fs.StatsFs#54309Codder-lab wants to merge 3 commits intonodejs:mainfrom
Conversation
|
Thanks for the PR! In order for this to land, the commit message must start with the subsystem ( For example, a valid commit for this PR would start with |
|
Thanks for updating the commit message, but you need to rebase to overwrite the original message. |
81179aa to
e2651f7
Compare
Look at #54309 |
aaccc27 to
aa3c459
Compare
|
actually being a doc only it should be |
aa3c459 to
3bd562c
Compare
#54309 "Could you please verify if it is correct now?" |
doc/api/fs.md
Outdated
| Free blocks available to unprivileged users. | ||
|
|
||
| **Example:** | ||
| ```javascript |
There was a problem hiding this comment.
| ```javascript | |
| ```mjs |
There was a problem hiding this comment.
Could you please verify all the changes?
doc/api/fs.md
Outdated
| Free blocks in file system. | ||
|
|
||
| **Example:** | ||
| ```javascript |
There was a problem hiding this comment.
| ```javascript | |
| ```mjs |
doc/api/fs.md
Outdated
| Total data blocks in file system. | ||
|
|
||
| **Example:** | ||
| ```javascript |
There was a problem hiding this comment.
| ```javascript | |
| ```mjs |
doc/api/fs.md
Outdated
|
|
||
| Total file nodes in file system. | ||
|
|
||
| ```javascript |
There was a problem hiding this comment.
| ```javascript | |
| ```mjs |
doc/api/fs.md
Outdated
|
|
||
| Free blocks available to unprivileged users. | ||
|
|
||
| **Example:** |
There was a problem hiding this comment.
| **Example:** |
doc/api/fs.md
Outdated
|
|
||
| Free blocks in file system. | ||
|
|
||
| **Example:** |
There was a problem hiding this comment.
| **Example:** |
doc/api/fs.md
Outdated
|
|
||
| Total data blocks in file system. | ||
|
|
||
| **Example:** |
There was a problem hiding this comment.
| **Example:** |
There was a problem hiding this comment.
Can you please verify the changes?
| ```mjs | ||
| import { statfs } from "fs/promises"; | ||
|
|
||
| async function getAvailableSpace(path) { |
There was a problem hiding this comment.
For the sake of simplicity, isn't it better to use top level await instead of an async function?
No description provided.