[BUG]Should FileDirectory primDeleteDirectory: recurse?

Bob Arning arning at charm.net
Tue Mar 19 12:52:39 UTC 2002


On Mon, 18 Mar 2002 19:39:34 -0800 Tim Rowledge <tim at sumeru.stanford.edu> wrote:
>It seems to me that the delete directory prim really ought to
>recursively remove all the sub tree contents. It's quite hard to imagine
>a system where this wouldn't make sense; every hierarchical filesystem
>I've ever come across can handle it.
>
>Mac certainly doesn't do it in practice and that's the only platform in
>front of me right now to check on.
>
>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.

Cheers,
Bob



More information about the Squeak-dev mailing list