Re: Globally, persistently identifying a file
Re: Globally, persistently identifying a file
- Subject: Re: Globally, persistently identifying a file
- From: "email@hidden" <email@hidden>
- Date: Thu, 26 Apr 2012 22:02:46 +0100
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.
Regards
Jonathan Mitchell
Mugginsoft LLP
_______________________________________________
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