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 2022-07-05 16:26:48 -04:00 committed by GitHub
parent 029215d754
commit 4d5ff25a81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6639,6 +6639,9 @@ A numeric device identifier if the file represents a device.
The size of the file in bytes. 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` #### `stats.blksize`
* {number|bigint} * {number|bigint}