Skip to content

Commit a8980b2

Browse files
dougwilsontargos
authored andcommitted
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 26cd4e2 commit a8980b2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/api/fs.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6341,6 +6341,9 @@ A numeric device identifier if the file represents a device.
63416341
63426342
The size of the file in bytes.
63436343
6344+
If the underlying file system does not support getting the size of the file,
6345+
this will be `0`.
6346+
63446347
#### `stats.blksize`
63456348
63466349
* {number|bigint}

0 commit comments

Comments
 (0)