lstatAsync

external fun lstatAsync(path: PathLike, opts: LstatOpts = definedExternally): <Error class: unknown class><Stats>(source)

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.

Since

v10.0.0

Return

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


external fun lstatAsync(path: PathLike, opts: LstatBigIntOpts): <Error class: unknown class><BigIntStats>(source)
external fun lstatAsync(path: PathLike, opts: StatOptions = definedExternally): <Error class: unknown class><Any>(source)
external fun lstatAsync(path: PathLike): <Error class: unknown class><Stats>(source)