]> git.cworth.org Git - notmuch/commit
database: Add notmuch_database_compact_close
authorBen Gamari <bgamari.foss@gmail.com>
Wed, 2 Oct 2013 20:30:46 +0000 (16:30 -0400)
committerDavid Bremner <bremner@debian.org>
Thu, 10 Oct 2013 00:46:49 +0000 (21:46 -0300)
commit0bd11b654e048a2ba562137c76d51296808b1a5d
treea3350d6260b97b677f8ef45ebe49a2f7239bd19a
parent54c40fb4c07224e194ac62330810d33cd7d6f5e1
database: Add notmuch_database_compact_close

This function uses Xapian's Compactor machinery to compact the notmuch
database. The compacted database is built in a temporary directory and
later moved into place while the original uncompacted database is
preserved.

Signed-off-by: Ben Gamari <bgamari.foss@gmail.com>
configure
lib/database.cc
lib/notmuch.h