Closed veeso closed 3 years ago
Merging #29 (fe51185) into 0.5.0 (f1225b1) will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## 0.5.0 #29 +/- ##
=======================================
Coverage 70.44% 70.44%
=======================================
Files 30 30
Lines 2724 2724
=======================================
Hits 1919 1919
Misses 805 805
Impacted Files | Coverage Δ | |
---|---|---|
src/host/mod.rs | 77.77% <ø> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update f1225b1...fe51185. Read the comment docs.
23 - Remove created file if transfer failed
Fixes #23
Description
This PR introduces the removal of the file just created after an upload/download whenever the transfer fails. The feature is implemented in a way that prevents the client to try to remove a file which previously existed, but only when the write process has failed (so the file is corrupted).
List here your changes
TransferErrorReason
enum as return for upload/download functions.Type of change
Checklist
cargo fmt
cargo clippy
and reports no warningscfg target_os
)