doc: add note regarding special case of 0 stat.size

Refs: https://github.com/nodejs/node/issues/43669

PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
Douglas Wilson authored and Michaël Zasso committed 2022-07-12 07:41:50 +02:00
1 parent 267f66b5cc
commit ca0fbfd87f
1 file changed
+3
+3
View File
@@ -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}