fs.fstatSync(fd[, options])
fd<integer>options<Object>bigint<boolean> 返回的 <fs.Stats> 对象中的数值是否应为bigint。 默认值:false。
- 返回: <fs.Stats>
获取文件描述符的 <fs.Stats>。
有关更多详细信息,请参阅 POSIX fstat(2) 文档。
fd<integer>options<Object>bigint<boolean> Whether the numeric values in the returned <fs.Stats> object should bebigint. Default:false.
- Returns: <fs.Stats>
Retrieves the <fs.Stats> for the file descriptor.
See the POSIX fstat(2) documentation for more detail.