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 protected]> 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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/list%40no-tek.com

This email sent to [email protected]


_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to