Re: How can know a file is hidden?
Re: How can know a file is hidden?
- Subject: Re: How can know a file is hidden?
- From: Michael Watson <email@hidden>
- Date: Wed, 26 Dec 2007 10:34:34 -0500
You do not need to check for a leading dot when using LaunchServices
to determine file visibility via kLSItemIsInvisible. LS takes care of
this for you.
--
m-s
On 26 Dec, 2007, at 03:39, Diederik Hoogenboom wrote:
Hi,
You can get the kLSItemIsInvisible attribute using
LSCopyItemAttributes() function. In addition to this you should also
check if a file begins with a dot ('.').
Diederik
--
Diederik Hoogenboom
Twitter: obviousmatter
Obvious Matter - DiskLibrary for Mac
http://www.obviousmatter.com
On 26 dec 2007, at 09:25, shengjun_guan (管聲俊) wrote:
Dear all,
I want to know a file is hidden.How can i do?Waiting for you
help.
_______________________________________________
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
_______________________________________________
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:
@bungie.org
This email sent to email@hidden
_______________________________________________
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