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