fsPromises.lstat(path[, options])


等同于 fsPromises.stat(),除非 path 指向符号链接,在这种情况下,会对链接本身进行状态获取,而不是它指向的文件。更多细节请参考 POSIX lstat(2) 文档。

【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.】