Closed mayermart closed 1 year ago
hi @mayermart thanks for your PR. please have a look at my comments
Hi @gigi81, thanks for your feedback. I implemented all your recommendations and reformatted the files for cleaner merge.
Actually i can't remember why i implemented the throw if the destination already exists. Its not even in the template from MS.
Thanks! Will review later!
Merging this into a feature branch as there are still some bits I'm not totally convinced and I want to fix before merging into main. Thanks for your contribution
Hi,
i implemented a first draft for IDirectoryInfo.CopyTo for recursively copying an IDirecotyInfo to a new path. There are two possible usages:
IDirectoryInfo IDirectoryInfo.CopyTo(string destDirectoryName, bool recursive)
andIDirectoryInfo IDirectoryInfo.CopyTo(IDirectoryInfo destDirectory, bool recursive)
Please take a look and provide some feedback :-)
This closes #18