function lstat
Jump to headinglstat(path: PathLike,opts?: StatOptions & { bigint?: false | undefined; },): Promise<Stats>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 Jump to heading
Jump to headingpath: PathLikeoptional
Jump to headingopts: StatOptions & { bigint?: false | undefined; }Return Type Jump to heading
Promise<Stats>Fulfills with the {fs.Stats} object for the given symbolic link path.
Jump to headinglstat(path: PathLike,opts: StatOptions & { bigint: true; },): Promise<BigIntStats>Parameters Jump to heading
Jump to headingpath: PathLikeJump to headingopts: StatOptions & { bigint: true; }Return Type Jump to heading
Promise<BigIntStats>Jump to headinglstat(path: PathLike,opts?: StatOptions,): Promise<Stats | BigIntStats>Parameters Jump to heading
Jump to headingpath: PathLikeoptional
Jump to headingopts: StatOptionsReturn Type Jump to heading
Promise<Stats | BigIntStats>