Re: How to know if a file has been opened before?
Re: How to know if a file has been opened before?
- Subject: Re: How to know if a file has been opened before?
- From: Charles Srstka <email@hidden>
- Date: Mon, 04 Jun 2012 21:11:12 -0500
On Jun 4, 2012, at 8:53 PM, Michael Hall wrote:
> I was recently looking at some old finder api's. and some of it involves fields that are pretty much obsolete.
> I was trying to figure out which flag bit setting corresponded to the locked checkbox in File>Get Info. At first I thought it was the name locked flag in finder flags. It turned out insted to be the node locked setting of a different flag. Name locked apparently had something to do with files in the old classic System folders.
> Assuming this bit is now never set, and not contents unpredictable, you could abscond with it as a user field associated with every file on the machine. Set it to mean whatever you want until someone else has the same idea.
Please don’t abuse fields that are meant for some completely different purpose on the assumption that no one is still using it. Instead, just use an extended attribute. Much safer, since you’re actually using something for its intended purpose.
Charles
_______________________________________________
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