File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -775,7 +775,8 @@ changes:
775
775
* Returns: {Promise} Fulfills with the {fs.Stats} object for the given
776
776
symbolic link ` path` .
777
777
778
- Equivalent to ` fsPromises .stats ()` when ` path` refers to a symbolic link.
778
+ Equivalent to [` fsPromises .stat ()` ][] unless ` path` refers to a symbolic link,
779
+ in which case the link itself is stat-ed, not the file that it refers to.
779
780
Refer to the POSIX lstat(2) document for more detail.
780
781
781
782
### ` fsPromises .mkdir (path[, options])`
@@ -6718,6 +6719,7 @@ the file contents.
6718
6719
[` fsPromises .open ()` ]: #fs_fspromises_open_path_flags_mode
6719
6720
[` fsPromises .opendir ()` ]: #fs_fspromises_opendir_path_options
6720
6721
[` fsPromises .rm ()` ]: #fs_fspromises_rm_path_options
6722
+ [` fsPromises .stat ()` ]: #fs_fspromises_stat_path_options
6721
6723
[` fsPromises .utimes ()` ]: #fs_fspromises_utimes_path_atime_mtime
6722
6724
[` inotify (7 )` ]: https://man7.org/linux/man-pages/man7/inotify.7.html
6723
6725
[` kqueue (2 )` ]: https://www.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2
You can’t perform that action at this time.
0 commit comments