- statfs(
this: V_Context,
path: PathLike,
opts?: StatFsOptions & { bigint?: false },
): Promise<fs.StatsFs> Parameters
- this: V_Context
- path: PathLike
Optional
opts: StatFsOptions & { bigint?: false }
Returns Promise<fs.StatsFs>
Fulfills with an {fs.StatFs} for the file system.
- statfs(
this: V_Context,
path: PathLike,
opts: StatFsOptions & { bigint: true },
): Promise<fs.BigIntStatsFs> Parameters
- this: V_Context
- path: PathLike
- opts: StatFsOptions & { bigint: true }
Returns Promise<fs.BigIntStatsFs>
Fulfills with an {fs.StatFs} for the file system.
- statfs(
this: V_Context,
path: PathLike,
opts?: StatFsOptions,
): Promise<fs.StatsFs | fs.BigIntStatsFs> Parameters
- this: V_Context
- path: PathLike
Optional
opts: StatFsOptions
Returns Promise<fs.StatsFs | fs.BigIntStatsFs>
Fulfills with an {fs.StatFs} for the file system.
Since
Node v18.15.0