function statfs
statfs(path: PathLike,opts?: StatFsOptions & { bigint?: false | undefined; },): Promise<StatsFs>
Deprecated
path: PathLike
optional
opts: StatFsOptions & { bigint?: false | undefined; }
Promise<StatsFs>
Fulfills with the {fs.StatFs} object for the given path
.
statfs(path: PathLike,opts: StatFsOptions & { bigint: true; },): Promise<BigIntStatsFs>
Deprecated
path: PathLike
opts: StatFsOptions & { bigint: true; }
Promise<BigIntStatsFs>
statfs(path: PathLike,opts?: StatFsOptions,): Promise<StatsFs | BigIntStatsFs>
Deprecated
path: PathLike
optional
opts: StatFsOptions
Promise<StatsFs | BigIntStatsFs>