function statfs
Jump to headingstatfs(): void
Asynchronous statfs(2)
. Returns information about the mounted file system which
contains path
. The callback gets two arguments (err, stats)
where stats
is an fs.StatFs
object.
In case of an error, the err.code
will be one of Common System Errors
.
Parameters Jump to heading
Jump to headingpath: PathLike
A path to an existing file or directory on the file system to be queried.
Jump to headingcallback: (err: ErrnoException | null,stats: StatsFs,) => void
Return Type Jump to heading
void
Jump to headingstatfs(path: PathLike,options: (StatFsOptions & { bigint?: false | undefined; }) | undefined,callback: (err: ErrnoException | null,stats: StatsFs,) => void,): void
Parameters Jump to heading
Jump to headingpath: PathLike
Jump to headingoptions: (StatFsOptions & { bigint?: false | undefined; }) | undefined
Jump to headingcallback: (err: ErrnoException | null,stats: StatsFs,) => void
Return Type Jump to heading
void
Jump to headingstatfs(path: PathLike,options: StatFsOptions & { bigint: true; },callback: (err: ErrnoException | null,stats: BigIntStatsFs,) => void,): void
Parameters Jump to heading
Jump to headingpath: PathLike
Jump to headingoptions: StatFsOptions & { bigint: true; }
Jump to headingcallback: (err: ErrnoException | null,stats: BigIntStatsFs,) => void
Return Type Jump to heading
void
Jump to headingstatfs(path: PathLike,options: StatFsOptions | undefined,callback: (err: ErrnoException | null,stats: StatsFs | BigIntStatsFs,) => void,): void
Parameters Jump to heading
Jump to headingpath: PathLike
Jump to headingoptions: StatFsOptions | undefined
Jump to headingcallback: (err: ErrnoException | null,stats: StatsFs | BigIntStatsFs,) => void
Return Type Jump to heading
void