statfs - Node documentation
function statfs

Usage

import { statfs } from "node:fs/promises";

Parameters

path: PathLike
optional
opts: StatFsOptions & { bigint?: false | undefined; }

Return Type

Promise<StatsFs>

Fulfills with the {fs.StatFs} object for the given path.

Parameters

path: PathLike
opts: StatFsOptions & { bigint: true; }

Return Type

Promise<BigIntStatsFs>

Parameters

path: PathLike
optional
opts: StatFsOptions

Return Type