Skip to content

Commit ca0fbfd

Browse files
dougwilsontargos
authored andcommitted
doc: add note regarding special case of 0 stat.size
Refs: #43669 PR-URL: #43690 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: LiviaMedeiros <livia@cirno.name>
1 parent 267f66b commit ca0fbfd

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
@@ -6633,6 +6633,9 @@ A numeric device identifier if the file represents a device.
66336633

66346634
The size of the file in bytes.
66356635

6636+
If the underlying file system does not support getting the size of the file,
6637+
this will be `0`.
6638+
66366639
#### `stats.blksize`
66376640

66386641
* {number|bigint}

0 commit comments

Comments
 (0)