On Tue, 21 Sep 2010 11:44:29 +0200 Sebastian Spaeth <sebast...@sspaeth.de> wrote:
> Right that would be a problem. But I cannot do reference counting > unless notmuch can give me the number of copies it knows about for a > given mail id (and internally it does know all associated file paths, > so it would be a simple API extension a la, > "get_all_message_file_paths" or similar, or a > get_number_of_mail_files(mailid) to start with. I agree, and such an API would be useful for other things too. For example, I could probably implement a rudamentary gmail syncer with that. I may just try to make a patch to do this soon if nobody beats me to it. -- Mike Kelly _______________________________________________ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch