cp: clean existing file when copy from stream #8149
68.75% of diff hit (target 86.30%)
View this Pull Request on Codecov
68.75% of diff hit (target 86.30%)
Annotations
Check warning on line 288 in src/uu/cp/src/platform/linux.rs
codecov / codecov/patch
src/uu/cp/src/platform/linux.rs#L288
Added line #L288 was not covered by tests
Check warning on line 308 in src/uu/cp/src/platform/linux.rs
codecov / codecov/patch
src/uu/cp/src/platform/linux.rs#L308
Added line #L308 was not covered by tests
Check warning on line 322 in src/uu/cp/src/platform/linux.rs
codecov / codecov/patch
src/uu/cp/src/platform/linux.rs#L322
Added line #L322 was not covered by tests
Check warning on line 342 in src/uu/cp/src/platform/linux.rs
codecov / codecov/patch
src/uu/cp/src/platform/linux.rs#L342
Added line #L342 was not covered by tests
Check warning on line 362 in src/uu/cp/src/platform/linux.rs
codecov / codecov/patch
src/uu/cp/src/platform/linux.rs#L362
Added line #L362 was not covered by tests