Re: Globally, persistently identifying a file
Re: Globally, persistently identifying a file
- Subject: Re: Globally, persistently identifying a file
- From: Nick Zitzmann <email@hidden>
- Date: Thu, 26 Apr 2012 16:07:00 -0600
On Apr 26, 2012, at 3:02 PM, email@hidden wrote:
>
> On 26 Apr 2012, at 21:36, Nick Zitzmann wrote:
>
>>
>> On Apr 26, 2012, at 2:24 PM, Brian Bergstrand wrote:
>>
>>> Prior to 10.6 you would use Alias records, but in 10.6 Apple added URL-based bookmarks (which are pretty much alias records with some new features).
>>>
>>> Cocoa: NSURL bookmarks
>>>
>>> C/C++: CFURL bookmarks
>>
>> I know about bookmarks, but the bookmark data is not persistent between reboots despite still being resolvable between reboots. I need something that will not change under any circumstances other than deleting and re-creating the file/folder. This is so I can search for a value in a database corresponding to a file/folder.
>
> Is it right to say that what are doing is uniquely identifying the file/folder content?
> If so, git uses hashes for this purpose, a fact that you probably know already.
I need to uniquely identify the file/folder, even if the contents change, so SHA/MD5/etc. hashes won't work.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden