function fstat
Usage
import { fstat } from "node:fs";
Invokes the callback with the fs.Stats for the file descriptor.
See the POSIX fstat(2) documentation for more detail.
callback: (err: ErrnoException | null, stats: Stats) => void
options: (StatOptions & { bigint?: false | undefined; }) | undefined
callback: (err: ErrnoException | null, stats: Stats) => void
options: StatOptions & { bigint: true; }
callback: (err: ErrnoException | null, stats: BigIntStats) => void
options: StatOptions | undefined
callback: (err: ErrnoException | null, stats: Stats | BigIntStats) => void