You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(uu/rm): wrap current_fd in Option for better ownership management in recursive directory removal
- Modified safe_remove_dir_recursive_impl to use Option<DirFd> instead of DirFd for current_fd
- Enables taking ownership during descent and restore cycles to optimize file descriptor handling
- Updated all accesses to use as_ref(), and_then(), take(), and Some() appropriately
- Ensures safe borrowing when calling handler functions like open_subdir, unlink_at, and handle_unlink
0 commit comments