]> git.notmuchmail.org Git - notmuch/commit
lib: Add an API to find a message by filename.
authorAustin Clements <amdragon@mit.edu>
Sat, 11 Jun 2011 04:19:31 +0000 (00:19 -0400)
committerDavid Bremner <bremner@debian.org>
Sat, 24 Sep 2011 23:00:28 +0000 (20:00 -0300)
commit7a8046ced8c0e61ddd0ff463cfc17ed63e6edad3
tree93142e88c7122fa200917290349c691028e9e198
parent59d2457bcc5e19f287006cea8da0c7c7a003200d
lib: Add an API to find a message by filename.

notmuch_database_find_message_by_filename is mostly stolen from
notmuch_database_remove_message, so this patch also vastly simplfies
the latter using the former.

This API is also useful in its own right and will be used in a later
patch for eager maildir flag synchronization.
lib/database.cc
lib/notmuch.h