[darcs-users] (no subject)

David Brown darcs at davidb.org
Fri Jun 18 15:19:24 UTC 2004


On Fri, Jun 18, 2004 at 08:14:48AM -0700, David Brown wrote:

> The only suggestion I would have is instead of using doesDirectoryExist,
> use something similar that uses lstat instead of stat.  That way, you
> wouldn't be trying to guess whether it was a real directory, or just a
> regular file.  Otherwise, your recursive remove will wander off to other
> places and start removing unrelated directories, which is a bad thing.

Nevermind.  I guess I should do a 'darcs pull' before I reply...

Dave




More information about the darcs-users mailing list