2007/3/27, Martijn Faassen <[EMAIL PROTECTED]>:
Hi there,

I'm currently trying to think through how to implement IKeyReference for
files on the filesystem. The end goal is to be able to use the intids
service on these files, so that they can be cataloged.

The simplistic approach to implement key references for files is simply
to use the filesystem path as key reference: the path is easy to
determine, and it's easy to resolve back to the file.

Unfortunately this doesn't work in the case where the files can be moved
on the filesystem.

Is it too expensive to compute a hash from the file contents and the
file attributes?

Best regards,
  Miklós Prisznyák
  Principal Consultant, owner
Zope3-dev mailing list
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to