From: Austin Clements Date: Sat, 11 Jun 2011 04:19:31 +0000 (-0400) Subject: lib: Add an API to find a message by filename. X-Git-Tag: 0.9_rc1~16 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=7a8046ced8c0e61ddd0ff463cfc17ed63e6edad3;hp=7a8046ced8c0e61ddd0ff463cfc17ed63e6edad3;ds=sidebyside 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. ---