@haxall/haxall
    Preparing search index...

    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

      • path: PathLike

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

      • Optionaloptions: StatFsOptions & { bigint?: false }

      Returns StatsFs

      v19.6.0, v18.15.0

    • 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

      • path: PathLike

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

      • options: StatFsOptions & { bigint: true }

      Returns BigIntStatsFs

      v19.6.0, v18.15.0

    • 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

      • path: PathLike

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

      • Optionaloptions: StatFsOptions

      Returns StatsFs | BigIntStatsFs

      v19.6.0, v18.15.0