Patch: Flush and Reopen

Martin Owens doctormo at gmail.com
Wed Sep 7 18:34:34 PDT 2011


Hello,

Per discussions on irc, I've attached a patch for your consideration
which allows the developer to run two new database commands;

notmuch_database_flush - used on read_write databases to commit changes
to disk
notmuch_database_reopen - used on read_only databases to reload from the
disk

Used in conjunction they can allow access by multiple programs at the
same time. There are also changes to the python bindings to add these
two methods to the database class.

Regards, Martin Owens
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-flush-and-reopen-methods-to-the-libnotmuch-and-t.patch
Type: text/x-patch
Size: 6898 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110907/da43f3a8/attachment-0001.bin>


More information about the notmuch mailing list