Re: Recursive file remove
Re: Recursive file remove
- Subject: Re: Recursive file remove
- From: Paul M <email@hidden>
- Date: Sun, 15 Aug 2010 11:39:08 +1200
I think the concept of a non-recursive delete comes from the unix rm
command - if the recursive flag is not specified, then it will delete
the dir only if it's empty, otherwise it deletes nothing.
paulm
On 15/08/2010, at 11:31 AM, Kyle Sluder wrote:
On Sat, Aug 14, 2010 at 11:46 AM, Michael Ash <email@hidden>
wrote:
Er, as far as I can tell from a quick look at the docs, every
NSFileManager remove... method is documented to be recursive and there
isn't any way to turn that *off*....
Pardon me if I'm being dense, but what would a "non-recursive delete"
even mean? If you delete the directory, it's gone, as its entire
subtree.
--Kyle Sluder
_______________________________________________
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
_______________________________________________
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