Re: Programatically identifying bundles and frameworks?
Re: Programatically identifying bundles and frameworks?
- Subject: Re: Programatically identifying bundles and frameworks?
- From: Ricky Sharp <email@hidden>
- Date: Wed, 17 Oct 2007 15:22:11 -0500
On Oct 17, 2007, at 3:19 PM, Karan, Cem (Civ, ARL/CISD) wrote:
Hi all, I am working on an application that is designed to help a user
clean up their disk space by identifying identical and near-identical
files (in case they've decided to make backups, and forgot that they
had). The only problem I'm running into is handling bundles and
frameworks; I want to be able to identify that I'm walking into a
bundle
or framework, and treat the entire thing as a single unit. Is there a
programmatic way of doing this, something along the lines of +(Bool)
isBundle:(NSString *) canonicalPathToDirectory;?
Check out NSWorkspace's isFilePackageAtPath:
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
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