• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Best way to determine if a directory is a package
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Best way to determine if a directory is a package
      • From: Ken Thomases <email@hidden>
References: 
 >Re: Best way to determine if a directory is a package (From: "ronald b. kopelman" <email@hidden>)

  • Prev by Date: Re: Best way to determine if a directory is a package
  • Next by Date: Re: Restoring a NSTreeController selection
  • Previous by thread: Re: Best way to determine if a directory is a package
  • Next by thread: Re: Best way to determine if a directory is a package
  • Index(es):
    • Date
    • Thread