接受额外的 options 对象,以指定返回的数字值是否应为长整数。
options
新增于: v10.0.0
path
bigint
fs.Stats
false
Accepts an additional options object to specify whether the numeric values returned should be bigint.
Added in: v10.0.0
The Promise is resolved with the fs.Stats object for the given path.
Promise