Commit 17a48f1
fs: use consistent defaults in sync stat functions
This commit updates the default options used by statSync(),
lstatSync(), and fstatSync() to be identical to the defaults
used by the callback- and Promise-based versions.
PR-URL: #31097
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>1 parent cb75f56 commit 17a48f1Copy full SHA for 17a48f1
File tree
Expand file treeCollapse file tree
1 file changed
+3
-3
lines changedOpen diff view settings
Filter options
- lib
Expand file treeCollapse file tree
1 file changed
+3
-3
lines changedOpen diff view settings
Collapse file
+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
899 | 899 | |
900 | 900 | |
901 | 901 | |
902 | | - |
| 902 | + |
903 | 903 | |
904 | 904 | |
905 | 905 | |
906 | 906 | |
907 | 907 | |
908 | 908 | |
909 | 909 | |
910 | | - |
| 910 | + |
911 | 911 | |
912 | 912 | |
913 | 913 | |
| ||
916 | 916 | |
917 | 917 | |
918 | 918 | |
919 | | - |
| 919 | + |
920 | 920 | |
921 | 921 | |
922 | 922 | |
|
0 commit comments