function statfs
Usage
import { statfs } from "node:fs";
Asynchronous statfs(2). Returns information about the mounted file system which
contains path. The callback gets two arguments (err, stats) where statsis an fs.StatFs object.
In case of an error, the err.code will be one of Common System Errors.
path: PathLike
options: (StatFsOptions & { bigint?: false | undefined; }) | undefined
callback: (err: ErrnoException | null, stats: StatsFs) => void
path: PathLike
options: StatFsOptions & { bigint: true; }
callback: (err: ErrnoException | null, stats: BigIntStatsFs) => void
path: PathLike
options: StatFsOptions | undefined
callback: (err: ErrnoException | null, stats: StatsFs | BigIntStatsFs) => void