fs.statSync(path[, options])
path<string> | <Buffer> | <URL>options<Object>bigint<boolean> 返回的 <fs.Stats> 对象中的数值是否应该为bigint。默认值:false。throwIfNoEntry<boolean> 如果不存在文件系统条目,是否会抛出异常,而不是返回undefined。 默认值:true。
- 返回:<fs.Stats>
获取该路径的 <fs.Stats>。
🌐 Retrieves the <fs.Stats> for the path.