Function statfs

  • Since

    v18.15.0

    Returns

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

    Parameters

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

    Returns Promise<StatsFs>

  • Parameters

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

    Returns Promise<BigIntStatsFs>

  • Parameters

    • path: PathLike
    • Optional opts: StatFsOptions

    Returns Promise<StatsFs | BigIntStatsFs>

Generated using TypeDoc