fsPromises.stat(path[, 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> 满足给定
path的 <fs.Stats> 对象。¥Returns: <Promise> Fulfills with the <fs.Stats> object for the given
path.