Function statfs

  • Parameters

    • path: PathLike
    • Optional opts: StatFsOptions & {
          bigint?: false;
      }

    Returns Promise<StatsFs>

    Fulfills with an {fs.StatFs} for the file system.

    Since

    v18.15.0

  • Parameters

    • path: PathLike
    • opts: StatFsOptions & {
          bigint: true;
      }

    Returns Promise<BigIntStatsFs>

  • Parameters

    • path: PathLike
    • Optional opts: StatFsOptions

    Returns Promise<StatsFs | BigIntStatsFs>

Generated using TypeDoc