filehandle.stat([options])
-
options
<Object>-
bigint
<boolean> 返回的 <fs.Stats> 对象中的数值是否应为bigint
。默认值:false
。¥
bigint
<boolean> Whether the numeric values in the returned <fs.Stats> object should bebigint
. Default:false
.
-
-
返回:<Promise> 通过文件的 <fs.Stats> 来履行。
¥Returns: <Promise> Fulfills with an <fs.Stats> for the file.