nvzqz / FileKit

Simple and expressive file management in Swift
https://nvzqz.github.io/FileKit/docs/
MIT License
2.34k stars 208 forks source link

Is this possible to move folder, with all files in it, recursively? #36

Closed notabene00 closed 6 years ago

notabene00 commented 7 years ago

I got an error when try to move it using function moveTo() on Path.

phimage commented 7 years ago

please provide the error when creating an issue maybe the destination already exist? if yes you must delete all files at destination or If you want something more evolved

a method to copy recursively file by file using visitor pattern and/or provide a delegate which decide for each files what to do if the destination already exist. then in delegate developper can

Maybe maybe maybe If I need for my own purpose, I will implement it , but not now