System.IO.Abstractions
System.IO.Abstractions copied to clipboard
fix: #870 Moving a readonly file duplicates the file
Fixes #870: Change the order when moving files:
- Remove the previous file (throws an exception, if the file access is not sufficient)
- Add the moved file on the new location
Also added a unit test to verify the behavior.