Commit a10928d
committed
refactor(rm): extract recursive removal logic with pre-fetched metadata
Refactored `remove_dir_recursive_impl` to separate metadata retrieval from the core recursive removal logic by introducing `remove_dir_recursive_with_metadata`. This improves code readability and avoids redundant metadata calls during recursion.1 parent b22a782 commit a10928d
1 file changed
+22
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
706 | 706 | | |
707 | 707 | | |
708 | 708 | | |
709 | | - | |
710 | | - | |
711 | | - | |
712 | | - | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
713 | 722 | | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
714 | 730 | | |
715 | 731 | | |
716 | 732 | | |
| |||
731 | 747 | | |
732 | 748 | | |
733 | 749 | | |
734 | | - | |
| 750 | + | |
735 | 751 | | |
736 | 752 | | |
737 | 753 | | |
738 | | - | |
| 754 | + | |
739 | 755 | | |
740 | 756 | | |
741 | 757 | | |
| |||
0 commit comments