Skip to content

Commit 4d5ff25

Browse files
authored
doc: add note regarding special case of 0 stat.size
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]>
1 parent 029215d commit 4d5ff25

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/api/fs.md

+3
Original file line numberDiff line numberDiff line change
@@ -6639,6 +6639,9 @@ A numeric device identifier if the file represents a device.
66396639

66406640
The size of the file in bytes.
66416641

6642+
If the underlying file system does not support getting the size of the file,
6643+
this will be `0`.
6644+
66426645
#### `stats.blksize`
66436646

66446647
* {number|bigint}

0 commit comments

Comments
 (0)