How determine if file is in Trash, given Path or Alias
How determine if file is in Trash, given Path or Alias
- Subject: How determine if file is in Trash, given Path or Alias
- From: Jerry Krinock <email@hidden>
- Date: Wed, 27 May 2009 20:05:43 -0700
How can I determine if a given file path, or a file alias (I have
both), refers to an item which is in the Trash?
The obvious answer, using -[NSString hasPrefix:] on the path with
NSHomeDirectory()/.Trash, doesn't look very pretty.
Thanks,
Jerry
_______________________________________________
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