Function lstat

  • Equivalent to fsPromises.stat() unless path refers to a symbolic link, in which case the link itself is stat-ed, not the file that it refers to. Refer to the POSIX lstat(2) document for more detail.

    Parameters

    Returns Promise<Stats>

    Fulfills with the {fs.Stats} object for the given symbolic link path.

    Since

    v10.0.0

  • Parameters

    Returns Promise<BigIntStats>

  • Parameters

    Returns Promise<Stats | BigIntStats>

Generated using TypeDoc