Skip to content

Commit

Permalink
doc: add note regarding special case of 0 stat.size
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
dougwilson authored and targos committed Jul 12, 2022
1 parent 267f66b commit ca0fbfd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit ca0fbfd

Please sign in to comment.