- Preparing search index...
- The search index is not available
extra-fs
- statfs(path: PathLike, opts?: StatFsOptions & {
bigint?: false;
}): Promise<StatsFs>
-
Parameters
-
-
Optional
opts: StatFsOptions & {
bigint?: false;
}
Returns Promise<StatsFs>
- statfs(path: PathLike, opts: StatFsOptions & {
bigint: true;
}): Promise<BigIntStatsFs>
-
Parameters
-
-
opts: StatFsOptions & {
bigint: true;
}
Returns Promise<BigIntStatsFs>
- statfs(path: PathLike, opts?: StatFsOptions): Promise<StatsFs | BigIntStatsFs>
-
Parameters
-
-
Optional
opts: StatFsOptions
Returns Promise<StatsFs | BigIntStatsFs>
Since
v18.15.0
Returns
Fulfills with an {fs.StatFs} for the file system.