Re: Re: determine if file is package
Re: Re: determine if file is package
- Subject: Re: Re: determine if file is package
- From: "The Karl Adam" <email@hidden>
- Date: Sun, 21 May 2006 13:47:14 -0400
This is not a valid way to ensure a path is a package, since file
packages don't have to do this, only application packages, and
bundles.
-Karl
On 5/21/06, Colin Howarth <email@hidden> wrote:
On 21.05.2006, at 16:51, Diederik Hoogenboom wrote:
> I was wondering if there is an other way of finding out besides
> [[NSWorkspace sharedWorkspace] isFilePackageAtPath:aPath] if a file
> is a package or not?
> The reason I ask is that -isFilePackageAtPath: is really slow.
>
Maybe it's doing lots of work? Would just checking if aPath/Contents/
Info.plist exists be good enough?
NSFileManager/fileExistsAtPath:
colin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden