[BUG]Should FileDirectory primDeleteDirectory: recurse?

Withers, Robert rwithers at quallaby.com
Tue Mar 19 23:46:08 UTC 2002


Hmmm, what about 'rm -rf "dirName"'?  Well at least on the platforms
supporting OSProcess....  That sounds like Win and *nix presently, which is
probably 60% of the platforms.

Rob

> -----Original Message-----
> From: Tim Rowledge [mailto:tim at sumeru.stanford.edu]
> Sent: Tuesday, March 19, 2002 6:14 PM
> To: squeak-dev at lists.squeakfoundation.org
> Subject: Re: [BUG]Should FileDirectory primDeleteDirectory: recurse?
> 
> 
> Bob Arning  <arning at charm.net> is claimed by the authorities 
> to have written:
> 
> 
> > >Do we really want to have to do the recursion and deletion 
> ourselves?
> > 
> > OTOH, that seems easily enough done in Smalltalk. Why jazz 
> up the primitive unnecessarily? Unless you have an interest 
> in rebuilding VMs... nah.
> Sure, it's not hard to do in image code, but it is likely to be much,
> much slower than a library call to delete the directory.
> 
> tim
> 
> -- 
> Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
> Useful random insult:- Ready to check in at the HaHa Hilton.
> 
> 



More information about the Squeak-dev mailing list