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:
parent
029215d754
commit
4d5ff25a81
@ -6639,6 +6639,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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user