Re: Globally, persistently identifying a file
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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.app... This email sent to site_archiver@lists.apple.com
participants (1)
-
jonathan@mugginsoft.com