rm: if a file can't be remove, still continue to delete the content #5751
76.92% of diff hit (target 84.22%)
View this Pull Request on Codecov
76.92% of diff hit (target 84.22%)
Annotations
Check warning on line 361 in src/uu/rm/src/rm.rs
codecov / codecov/patch
src/uu/rm/src/rm.rs#L361
Added line #L361 was not covered by tests
Check warning on line 364 in src/uu/rm/src/rm.rs
codecov / codecov/patch
src/uu/rm/src/rm.rs#L363-L364
Added lines #L363 - L364 were not covered by tests
Check warning on line 367 in src/uu/rm/src/rm.rs
codecov / codecov/patch
src/uu/rm/src/rm.rs#L367
Added line #L367 was not covered by tests
Check warning on line 384 in src/uu/rm/src/rm.rs
codecov / codecov/patch
src/uu/rm/src/rm.rs#L383-L384
Added lines #L383 - L384 were not covered by tests
Check warning on line 387 in src/uu/rm/src/rm.rs
codecov / codecov/patch
src/uu/rm/src/rm.rs#L386-L387
Added lines #L386 - L387 were not covered by tests
Check warning on line 390 in src/uu/rm/src/rm.rs
codecov / codecov/patch
src/uu/rm/src/rm.rs#L389-L390
Added lines #L389 - L390 were not covered by tests
Check warning on line 495 in src/uu/rm/src/rm.rs
codecov / codecov/patch
src/uu/rm/src/rm.rs#L495
Added line #L495 was not covered by tests