Function fstatSync

  • Synchronous fstat. fstat() is identical to stat(), except that the file to be stat-ed is specified by the file descriptor fd.

    Parameters

    • fd: number
    • Optional options: {
          bigint?: boolean;
      }
      • Optional bigint?: boolean

    Returns Stats

  • Parameters

    • fd: number
    • options: {
          bigint: true;
      }
      • bigint: true

    Returns BigIntStats