Skip to content

Commit

Permalink
doc: add note regarding special case of 0 stat.size
Browse files Browse the repository at this point in the history
Refs: #43669

PR-URL: #43690
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Juan José Arboleda <[email protected]>
Reviewed-By: LiviaMedeiros <[email protected]>
  • Loading branch information
dougwilson authored and targos committed Jul 12, 2022
1 parent 267f66b commit ca0fbfd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -6633,6 +6633,9 @@ A numeric device identifier if the file represents a device.

The size of the file in bytes.

If the underlying file system does not support getting the size of the file,
this will be `0`.

#### `stats.blksize`

* {number|bigint}
Expand Down

0 comments on commit ca0fbfd

Please sign in to comment.