Function lstat

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

    Returns Promise<Stats>

  • Parameters

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

    Returns Promise<BigIntStats>