-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: update documentation in fs.StatsFs #54309
base: main
Are you sure you want to change the base?
doc: update documentation in fs.StatsFs #54309
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
@@ -7509,6 +7509,19 @@ added: | |||
|
|||
Free blocks available to unprivileged users. | |||
|
|||
**Example:** | |||
```javascript |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
```javascript | |
```mjs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please verify all the changes?
doc/api/fs.md
Outdated
@@ -7521,6 +7534,19 @@ added: | |||
|
|||
Free blocks in file system. | |||
|
|||
**Example:** | |||
```javascript |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
```javascript | |
```mjs |
doc/api/fs.md
Outdated
@@ -7533,6 +7559,18 @@ added: | |||
|
|||
Total data blocks in file system. | |||
|
|||
**Example:** | |||
```javascript |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
```javascript | |
```mjs |
doc/api/fs.md
Outdated
@@ -7569,6 +7607,17 @@ added: | |||
|
|||
Total file nodes in file system. | |||
|
|||
```javascript |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
```javascript | |
```mjs |
doc/api/fs.md
Outdated
@@ -7509,6 +7509,19 @@ added: | |||
|
|||
Free blocks available to unprivileged users. | |||
|
|||
**Example:** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
**Example:** |
doc/api/fs.md
Outdated
@@ -7521,6 +7534,19 @@ added: | |||
|
|||
Free blocks in file system. | |||
|
|||
**Example:** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
**Example:** |
doc/api/fs.md
Outdated
@@ -7533,6 +7559,18 @@ added: | |||
|
|||
Total data blocks in file system. | |||
|
|||
**Example:** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
**Example:** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please verify the changes?
```mjs | ||
import { statfs } from "fs/promises"; | ||
|
||
async function getAvailableSpace(path) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the sake of simplicity, isn't it better to use top level await instead of an async function?
No description provided.