fsPromises.stat(path[, options])
path<string> | <Buffer> | <URL>options<Object>bigint<boolean> 返回的 <fs.Stats> 对象中的数值是否应为bigint。 默认值:false。
- 返回: <Promise> 使用给定的
path的 <fs.Stats> 对象履行。
path<string> | <Buffer> | <URL>options<Object>bigint<boolean> Whether the numeric values in the returned <fs.Stats> object should bebigint. Default:false.
- Returns: <Promise> Fulfills with the <fs.Stats> object for the
given
path.