On 26 Apr 2012, at 23:07, Nick Zitzmann wrote:
On Apr 26, 2012, at 3:02 PM, jonathan@mugginsoft.com 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.
Is an object orientated interpretation of the problem helpful? We are trying to track a file or path object as a unique entity with an object orientated file system regardless of the file/path object's current path or content properties. If so then it's a question of identifying whether the OS X filesystem conforms to such a model or not, which probably brings us right back to the original question. Jonathan _______________________________________________ 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