Re: Confusion over FSMoveObjectToTrashSync docs
Re: Confusion over FSMoveObjectToTrashSync docs
- Subject: Re: Confusion over FSMoveObjectToTrashSync docs
- From: Peter Ammon <email@hidden>
- Date: Thu, 7 Aug 2008 16:57:47 -0700
On Aug 7, 2008, at 1:19 PM, Randall Meadows wrote:
On Aug 7, 2008, at 2:12 PM, Nate Weaver wrote:
I'd say just try the default options and see what happens. You
might also look at -[NSWorkspace
performFileOperation:source:destination:files:tag:] with
NSWorkspaceRecycleOperation as the first argument.
Yes, that's actually what I started with, but that doesn't
(automatically) take into account the volume that the document
resides on and its related Trash directory. Which is what I'm
hoping FSMoveObjectToTrash gives me.
In Leopard, the NSWorkspace method is implemented with
FSMoveObjectToTrashSync(), so the behavior should be identical. The
destination parameter is ignored in this case.
-Peter
_______________________________________________
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