Closed jpy-git closed 2 years ago
Merging #120 (ffbcf43) into master (d010ff4) will increase coverage by
0.03%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #120 +/- ##
==========================================
+ Coverage 89.59% 89.63% +0.03%
==========================================
Files 10 10
Lines 298 299 +1
==========================================
+ Hits 267 268 +1
Misses 31 31
Impacted Files | Coverage Δ | |
---|---|---|
src/aiofiles/os.py | 100.00% <100.00%> (ø) |
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 d010ff4...ffbcf43. Read the comment docs.
Great job, thanks!
The
os
module in the stdlib provides a function calledos.renames
that operates in a very similar way toos.rename
but will create missing intermediate directories in the new path and delete directories corresponding to rightmost path segments of the old path. This PR adds the async version of that.Docs: https://docs.python.org/3/library/os.html#os.renames
I've added the relevant unit test in
test_os.py