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
    • Optionaloptions: {
          bigint?: boolean;
      }
      • Optionalbigint?: boolean

    Returns Stats

  • Parameters

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

    Returns BigIntStats