Stef, I have ported FileSystem to GemStone, but I had to make a number of changes that were necessary to improve the portability (at least for GemStone) ... It would be a bit of work for me to extract the changes, but I'd be willing to do it if you were interested in incorporated some of them (if not all) ... Dale On 01/27/2011 12:58 PM, Stéphane Ducasse wrote:
Hi max
I started to merge some of your changes to FS. Now I was wondering about this one:
***for my work on GitFS I needed a resumable exception (alternatively an ifPresent block would have done the trick but that would have ment more meddling with Filesystem) to delete existing files when copying. The following changes are a result of introducing this exception to the copy methods. *added class FSFileExistsResumbale and its superclass FSFilesystemException to support the changes to the copy methods *#copy:to: signals FSFileExistsResumbale instead of FSFileExists *FSCopyVisitor>>copyDirectory uses #ensureDirectory instead of #createDirectory *needed to change FSFilesystemTest>>testCopyDestExists to expect FSFileExistsResumable *FSReference>>basicCopyTo: signals FSFileExistsResumable instead of FSFileExists
Could you explain us a bit more?
Stef