Function lstatSync

  • Synchronous lstat. lstat() is identical to stat(), except that if path is a symbolic link, then the link itself is stat-ed, not the file that it refers to.

    Parameters

    • path: PathLike
    • Optional options: {
          bigint?: boolean;
      }
      • Optional bigint?: boolean

    Returns Stats

  • Parameters

    • path: PathLike
    • options: {
          bigint: true;
      }
      • bigint: true

    Returns BigIntStats