Re: Instantly delete a directory without recursion?
Re: Instantly delete a directory without recursion?
- Subject: Re: Instantly delete a directory without recursion?
- From: Greg Parker <email@hidden>
- Date: Mon, 4 Oct 2010 11:09:23 -0700
On Oct 4, 2010, at 1:24 AM, Oleg Krupnov wrote:
> I had an idea that because the directory tree is growing from a single
> root, there *might* be a possibility to axe it off with a single hit.
> Is it possible?
As Kirk explained, no.
Another reason is file permissions. The filesystem needs to check every item in the directory tree to make sure that you are allowed to delete it.
--
Greg Parker email@hidden Runtime Wrangler
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden