Re: Best way to determine if a directory is a package
Re: Best way to determine if a directory is a package
- Subject: Re: Best way to determine if a directory is a package
- From: "Paul Sanders" <email@hidden>
- Date: Fri, 25 Jun 2010 12:16:04 +0100
> Hidden item names begin with a "."
There is also a UF_HIDDEN flag in stat.st_flags. Google man stat os x for details (you want stat(2)). The Finder respects this flag on my 10.6.3 system. Whether it corresponds to kLSItemInfoIsVisible in LSItemInfoRecord.LSItemInfoFlags (as recommended by Jean-Daniel) I don't know. As usual in Mac-land, there are 6 ways of doing everything.
Regards,
Paul Sanders.
_______________________________________________
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