fs.lstatSync(path[, options])
path<string> | <Buffer> | <URL>options<Object>bigint<boolean> 返回的 <fs.Stats> 对象中的数值是否应为bigint。默认值:false。throwIfNoEntry<boolean> 如果文件系统条目不存在,是否抛出异常,而不是返回undefined。 默认值:true。
- 返回值:<fs.Stats>
获取由 path 指向的符号链接的 <fs.Stats>。
【Retrieves the <fs.Stats> for the symbolic link referred to by path.】
有关更多详细信息,请参阅 POSIX lstat(2) 文档。
【See the POSIX lstat(2) documentation for more details.】