On Thu, Feb 11, 2010 at 9:45 PM, Edward K. Ream <[email protected]> wrote:

> 1. initFileDB computes  dbdirname as follows:
>
>    pth, bname = split(fn)
>    ...
>    self.dbdirname = dbdirname = join(g.app.homeLeoDir,'db',
>       '%s_%s' % (bname,hashlib.md5(fn).hexdigest()))
>
> So this directory can contain entries from many places.

Note that hash is calculated from "fn", which is the full path.
basename is prepended merely for convenience.
-- 
Ville M. Vainio
http://tinyurl.com/vainio

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to