fstatSync - Node documentation
function fstatSync

Usage

import { fstatSync } from "node:fs";

Retrieves the fs.Stats for the file descriptor.

See the POSIX fstat(2) documentation for more detail.

Parameters

fd: number
optional
options: StatOptions & { bigint?: false | undefined; }

Return Type

Parameters

fd: number
options: StatOptions & { bigint: true; }

Return Type

Parameters

fd: number
optional
options: StatOptions

Return Type