[ENH][GOODIE] UnixFileDirectoryPlugin

John M McIntosh johnmci at smalltalkconsulting.com
Thu Jan 17 21:08:30 UTC 2002


>Neither is very efficient _except_ in one important way - they can work
>with the very minimalist set of fileprims present in early Squeak. I
>think we can do better with some thought.
>
>tim
>--
>Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
>The wise person writes bomb-proof code.

Yes, in fact an interesting thing is when you start squeak it hunts 
for the changes and source file by getting the directory contents. 
Fine if those are the only files there, unfine if you've dumped 3 
thousand files into your squeak directory for some odd reason.

Tho I think we could change that code to hunt and open as an oldfile. 
But you are right having a fileExists: call that actually hunts in a 
minimal cost manner would be good.

FileCopy too?

-- 
--
===========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================



More information about the Squeak-dev mailing list