Function statfsSync

  • Synchronous statfs(2). Returns information about the mounted file system which contains path. In case of an error, the err.code will be one of Common System Errors.

    Parameters

    • this: V_Context
    • path: PathLike

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

    • Optionaloptions: StatFsOptions & { bigint?: false }

    Returns fs.StatsFs

  • Synchronous statfs(2). Returns information about the mounted file system which contains path. In case of an error, the err.code will be one of Common System Errors.

    Parameters

    • this: V_Context
    • path: PathLike

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

    • options: StatFsOptions & { bigint: true }

    Returns fs.BigIntStatsFs

  • Synchronous statfs(2). Returns information about the mounted file system which contains path. In case of an error, the err.code will be one of Common System Errors.

    Parameters

    • this: V_Context
    • path: PathLike

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

    • Optionaloptions: StatFsOptions

    Returns fs.StatsFs | fs.BigIntStatsFs