Commit f4aed24
committed
refactor(rm): Use DirFd for recursive child dir removal in Linux
- Add DirFd opening for child directories before recursive calls in safe_remove_dir_recursive_impl
- Enhances performance and correctness by leveraging file descriptors in recursive removal欧美1 parent 1619870 commit f4aed24
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
361 | | - | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
362 | 371 | | |
363 | 372 | | |
364 | 373 | | |
| |||
0 commit comments