Hi,
There's a few cases which copy() could possibly deal with better, but
I'm not sure what behaviour we want.
- Target for a file already exists as a directory
- Target for a directory already exists as a file
Given that we replace existing files, it feels consistent that in both
cases we remove the existing file/directory.
- Target file exists and is read-only
- Target directory exists and is read-only
In both these cases, I don't think there's much we can do except throw
an exception with an error message explaining that the targets are
read-only.
Adam
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email