function statfs
statfs(): voidAsynchronous 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.
voidstatfs(path: PathLike,options: (StatFsOptions & { bigint?: false | undefined; }) | undefined,callback: (err: ErrnoException | null,stats: StatsFs,) => void,): voidpath: PathLikeoptions: (StatFsOptions & { bigint?: false | undefined; }) | undefinedcallback: (err: ErrnoException | null,stats: StatsFs,) => voidvoidstatfs(path: PathLike,options: StatFsOptions & { bigint: true; },callback: (err: ErrnoException | null,stats: BigIntStatsFs,) => void,): voidpath: PathLikeoptions: StatFsOptions & { bigint: true; }callback: (err: ErrnoException | null,stats: BigIntStatsFs,) => voidvoidstatfs(path: PathLike,options: StatFsOptions | undefined,callback: (err: ErrnoException | null,stats: StatsFs | BigIntStatsFs,) => void,): voidpath: PathLikeoptions: StatFsOptions | undefinedcallback: (err: ErrnoException | null,stats: StatsFs | BigIntStatsFs,) => voidvoid