Re: Checking if a file is Locked
Re: Checking if a file is Locked
- Subject: Re: Checking if a file is Locked
- From: Ryan Britton <email@hidden>
- Date: Tue, 28 Nov 2006 21:13:22 -0800
I should also mention that the info you ask for with FSGetCatalogInfo
is kFSCatInfoNodeFlags.
On Nov 28, 2006, at 9:10 PM, Ryan Britton wrote:
You can for sure get it with FSGetCatalogInfo. Specifically the
field kFSNodeLockedMask. I'm unsure if there is any other way to
get it since this is the method I use.
On Nov 28, 2006, at 8:26 PM, Chris Suter wrote:
I'm guessing, but the locked property could be the kNameLocked
flag declared in CarbonCore/Finder.h.
It looks like you could get hold of this either using getattrlist
(BSD) or FSGetCatalogInfo (Carbon).
There might be a Cocoa way; I don't know.
- Chris
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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)
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)
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