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> 返回的 <fs.Stats> 对象中的数值是否应该为 bigint。默认值: false。path 填充 <fs.Stats> 对象。