MoveDirectory and CopyDirectory with overwrite
Open
Improvement
- Dominant language
- C#
- Stars
- 4.2k
- Forks
- 778
- Avg merge
- 3h 37m
- Merged PRs (30d)
- 21
Description
Please support overwriting with `MoveDirectory` and `CopyDirectory`.
A bool parameter in the third position would make sense, wouldn't it? This seems common enough and similar enough to other APIs:
```c#
MoveDirectory(fromPath, toPath, true);
CopyDirectory(fromPath, toPath, false);
```
Or should an entire options class be created in order to specify `Overwrite`?
Contributor guide
Research direction
Start by locating the MoveDirectory and CopyDirectory API entry points and their existing tests. Review how related APIs represent overwrite behavior, then define and test the selected parameter or options design so both operations have the requested overwrite semantics.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100