Commit fc08a9b
fs: refactor handleTimestampsAndMode to remove redundant call
Refactored the `handleTimestampsAndMode` function to eliminate the
redundant `setDestTimestampsAndMode` call. This simplifies the function
by ensuring that `setDestTimestampsAndMode` is only called once after
any necessary modifications to file writability.
PR-URL: #54369
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>1 parent 467ac3a commit fc08a9bCopy full SHA for fc08a9b
File tree
Expand file treeCollapse file tree
1 file changed
+0
-1
lines changedOpen diff view settings
Filter options
- lib/internal/fs/cp
Expand file treeCollapse file tree
1 file changed
+0
-1
lines changedOpen diff view settings
Collapse file
-1Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
270 | 270 | |
271 | 271 | |
272 | 272 | |
273 | | - |
274 | 273 | |
275 | 274 | |
276 | 275 | |
|
0 commit comments