function statfsSync
Jump to headingstatfsSync(path: PathLike,options?: StatFsOptions & { bigint?: false | undefined; },): StatsFs
Synchronous statfs(2)
. Returns information about the mounted file system which
contains path
.
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.
optional
Jump to headingoptions: StatFsOptions & { bigint?: false | undefined; }
Return Type Jump to heading
Jump to headingstatfsSync(path: PathLike,options: StatFsOptions & { bigint: true; },): BigIntStatsFs
Parameters Jump to heading
Jump to headingpath: PathLike
Jump to headingoptions: StatFsOptions & { bigint: true; }
Return Type Jump to heading
Jump to headingstatfsSync(path: PathLike,options?: StatFsOptions,): StatsFs | BigIntStatsFs
Parameters Jump to heading
Jump to headingpath: PathLike
optional
Jump to headingoptions: StatFsOptions