Copies a folder with its content
Copies the folder from one location to another. All the content of the folder is recursively copied.
Callbacks can be passed to perform advanced operations
The destination path for the folder
an optional callback that is called during copy operation to output file/folder names. Prototype:
function void myOutput(string text)
(the "print" function can be passed as a valid callback)
If empty no output is generated
an optional callback that is called during copy operation to avoid some copy. Prototype:
function boolean MyFilter(string path,
the function must return false if the file has to be skipped (not copied) true otherwise. The second parameter specify if the item is a folder (if false, it is a normal file).
If empty no filter is applied
an optional callback that is called after the copy operation on each file. The user has the opportunity to make changes on file copied. Prototype:
function void MyTranslateExt(string path)
If empty no callback is called