Function lstat

  • Retrieves the fs.Stats for the symbolic link referred to by the path. The callback gets two arguments (err, stats) where stats is a fs.Stats object. 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.

    See the POSIX lstat(2) documentation for more details.

    Parameters

    Returns void

    Since

    v0.1.30

    See

  • Retrieves the fs.Stats for the symbolic link referred to by the path. The callback gets two arguments (err, stats) where stats is a fs.Stats object. 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.

    See the POSIX lstat(2) documentation for more details.

    Parameters

    Returns void

    Since

    v0.1.30

    See

  • Retrieves the fs.Stats for the symbolic link referred to by the path. The callback gets two arguments (err, stats) where stats is a fs.Stats object. 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.

    See the POSIX lstat(2) documentation for more details.

    Parameters

    Returns void

    Since

    v0.1.30

    See

  • Retrieves the fs.Stats for the symbolic link referred to by the path. The callback gets two arguments (err, stats) where stats is a fs.Stats object. 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.

    See the POSIX lstat(2) documentation for more details.

    Parameters

    Returns void

    Since

    v0.1.30

    See

  • Retrieves the fs.Stats for the symbolic link referred to by the path. The callback gets two arguments (err, stats) where stats is a fs.Stats object. 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.

    See the POSIX lstat(2) documentation for more details.

    Parameters

    Returns Promise<Stats>

    Since

    v0.1.30

    See

  • Retrieves the fs.Stats for the symbolic link referred to by the path. The callback gets two arguments (err, stats) where stats is a fs.Stats object. 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.

    See the POSIX lstat(2) documentation for more details.

    Parameters

    Returns Promise<BigIntStats>

    Since

    v0.1.30

    See

  • Retrieves the fs.Stats for the symbolic link referred to by the path. The callback gets two arguments (err, stats) where stats is a fs.Stats object. 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.

    See the POSIX lstat(2) documentation for more details.

    Parameters

    Returns Promise<Stats | BigIntStats>

    Since

    v0.1.30

    See

Methods

  • Asynchronous lstat(2) - Get file status. Does not dereference symbolic links.

    Parameters

    • path: PathLike

      A path to a file. If a URL is provided, it must use the file: protocol.

    • Optional options: StatOptions & {
          bigint?: false;
      }

    Returns Promise<Stats>

  • Parameters

    Returns Promise<BigIntStats>

  • Parameters

    Returns Promise<Stats | BigIntStats>

Generated using TypeDoc