Add utility functions to rename a file or folder src to dst with retrying. - #1666
Conversation
2ce256f to
4669f95
Compare
|
Thanks @loonghao for submitting this PR. My main concern right now is speed. Starting a subprocess on Windows usually adds a noticeable overhead. Could the code first try to Also, it would be great if you could add tests to cover all cases covered by the change. |
4669f95 to
2972852
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1666 +/- ##
==========================================
+ Coverage 57.99% 58.03% +0.03%
==========================================
Files 128 128
Lines 17088 17102 +14
Branches 3502 3504 +2
==========================================
+ Hits 9911 9925 +14
Misses 6509 6509
Partials 668 668 ☔ View full report in Codecov by Sentry. |
2972852 to
ffd6f30
Compare
|
@JeanChristopheMorinPerso I have updated the code and added a unit test for this function. Please take another look. Thanks. |
JeanChristopheMorinPerso
left a comment
There was a problem hiding this comment.
Thanks! There is a bug in the code and I think we can add more tests.
f2977d8 to
aae54ed
Compare
@JeanChristopheMorinPerso I have updated the code and added more unit tests. Please take another look. Thanks. |
|
Thanks @loonghao ! This should hopefully be my last batch of comments. |
aae54ed to
f81d94d
Compare
…ying. Signed-off-by: loonghao <hal.long@outlook.com>
f81d94d to
dafcd6c
Compare
@JeanChristopheMorinPerso I have made all the changes based on your feedback and addressed all the comments. Could you please take another look. Thanks! |
JeanChristopheMorinPerso
left a comment
There was a problem hiding this comment.
Looks good to me. Thanks for taking the time to fix this and address all my comments! If everything goes as planned, this will be released in the next release.
This PR is try to fix #1665