I wrote a partial fix (move and rename now work for disk filesystems on my mac) and uploaded it to sqs/fs. Here's the package comment for FS-Core-SeanDeNigris.16 (the other affected package is FS-Disk-SeanDeNigris.4):
> * Partially fixed FSReference>>renameAs:. It now works for disk > filesystems. > * added FSReference>>moveTo: > > WARNING: this introduces a slight change into the API. #renameAs: now is a > shortcut to simply change a file's name while staying in the same parent > directory. As such, it now takes a string (used to take a path or string). > What renameAs: used to do (move to an arbitrary other location) is now > done by #moveTo: which takes a target reference. > I tested by hand, but at minimum, it's less broken than before :) It doesn't touch any other parts of FS, so shouldn't have broken anything else. Sean -- View this message in context: http://forum.world.st/Moving-a-file-tp3983916p3986244.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
