giraffe icon indicating copy to clipboard operation
giraffe copied to clipboard

Improve contract of copyRecursive

Open bluekeyes opened this issue 10 years ago • 0 comments

copyRecursive works but does not take options and requires a specific set of conditions for the destination. Ideally this will merge directories by default, failing if any files would be overwritten. It can then take the StandardCopyOption.REPLACE_EXISTING option to overwrite files. We need to make sure that this behavior can work consistently between the file tree implementation, cp, and scp.

bluekeyes avatar Jul 02 '15 18:07 bluekeyes