On Wed, Feb 10, 2010 at 4:27 PM, Edward K. Ream <[email protected]> wrote:
> - At present, the clear-all-caches command is wimpy. In the new > scheme it can *safely* clear all top-level directories. Clearing the cache safely for all commanders is easy is already. Just remove all directories with the name 'fcache' under ~/.leo/db. I understand what you mean by "queueing" minor data writes, but I don't think it's a real problem even currently. ~/.leo/db is not meant to be read by humans. I can understand your willingness to "buffer" the changes in a sincle dict before writing it out, but that just needs a new dict in commander, that would get flushed after the file was saved (previous phases of saving would store read marks etc. there). Note that all path manipulation in pickleshare is optional. You could remove it by creating 2 db's, c.db (for minor data) and c.cachedb (for cache). Then, you could just use a flat directory. But again, I don't think all of this is a big deal, and nobody would notice the difference :-). It might just make the code more complicated. -- 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.
