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(rm): extract one-fs and root preservation checks to helper
Introduce `check_and_report_one_fs` to encapsulate the logic for
verifying filesystem boundaries (`-x`) and root preservation.
This removes code duplication between `remove_dir_recursive` and
`handle_dir`, ensuring consistent error reporting for "different device"
skips and `--preserve-root=all` violations.
0 commit comments