Function statfs

  • Asynchronous statfs(2). Returns information about the mounted file system which contains path. The callback gets two arguments (err, stats) where statsis an fs.StatFs object.

    In case of an error, the err.code will be one of Common System Errors.

    Parameters

    • path: PathLike

      A path to an existing file or directory on the file system to be queried.

    • callback: ((err, stats) => void)

    Returns void

    Since

    v19.6.0, v18.15.0

    See

  • Asynchronous statfs(2). Returns information about the mounted file system which contains path. The callback gets two arguments (err, stats) where statsis an fs.StatFs object.

    In case of an error, the err.code will be one of Common System Errors.

    Parameters

    • path: PathLike

      A path to an existing file or directory on the file system to be queried.

    • options: undefined | StatFsOptions & {
          bigint?: false;
      }
    • callback: ((err, stats) => void)

    Returns void

    Since

    v19.6.0, v18.15.0

    See

  • Asynchronous statfs(2). Returns information about the mounted file system which contains path. The callback gets two arguments (err, stats) where statsis an fs.StatFs object.

    In case of an error, the err.code will be one of Common System Errors.

    Parameters

    • path: PathLike

      A path to an existing file or directory on the file system to be queried.

    • options: StatFsOptions & {
          bigint: true;
      }
    • callback: ((err, stats) => void)

    Returns void

    Since

    v19.6.0, v18.15.0

    See

  • Asynchronous statfs(2). Returns information about the mounted file system which contains path. The callback gets two arguments (err, stats) where statsis an fs.StatFs object.

    In case of an error, the err.code will be one of Common System Errors.

    Parameters

    Returns void

    Since

    v19.6.0, v18.15.0

    See

  • Asynchronous statfs(2). Returns information about the mounted file system which contains path. The callback gets two arguments (err, stats) where statsis an fs.StatFs object.

    In case of an error, the err.code will be one of Common System Errors.

    Parameters

    • path: PathLike

      A path to an existing file or directory on the file system to be queried.

    • Optional options: StatFsOptions & {
          bigint?: false;
      }

    Returns Promise<StatsFs>

    Since

    v19.6.0, v18.15.0

    See

  • Asynchronous statfs(2). Returns information about the mounted file system which contains path. The callback gets two arguments (err, stats) where statsis an fs.StatFs object.

    In case of an error, the err.code will be one of Common System Errors.

    Parameters

    • path: PathLike

      A path to an existing file or directory on the file system to be queried.

    • options: StatFsOptions & {
          bigint: true;
      }

    Returns Promise<BigIntStatsFs>

    Since

    v19.6.0, v18.15.0

    See

  • Asynchronous statfs(2). Returns information about the mounted file system which contains path. The callback gets two arguments (err, stats) where statsis an fs.StatFs object.

    In case of an error, the err.code will be one of Common System Errors.

    Parameters

    • path: PathLike

      A path to an existing file or directory on the file system to be queried.

    • Optional options: StatFsOptions

    Returns Promise<StatsFs | BigIntStatsFs>

    Since

    v19.6.0, v18.15.0

    See

Methods

  • Asynchronous statfs(2) - Returns information about the mounted file system which contains path. The callback gets two arguments (err, stats) where stats is an <fs.StatFs> object.

    Parameters

    • path: PathLike

      A path to an existing file or directory on the file system to be queried.

    • Optional options: StatFsOptions & {
          bigint?: false;
      }

    Returns Promise<StatsFs>

  • Parameters

    Returns Promise<BigIntStatsFs>

  • Parameters

    Returns Promise<StatsFs | BigIntStatsFs>

Generated using TypeDoc