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