]> Sergey Matveev's repositories - public-inbox.git/commit
lei_store: add ->set_eml, ->add_eml can return smsg
authorEric Wong <e@80x24.org>
Thu, 31 Dec 2020 13:51:34 +0000 (13:51 +0000)
committerEric Wong <e@80x24.org>
Fri, 1 Jan 2021 05:00:39 +0000 (05:00 +0000)
commit73b40ff62a7ab305443a9fb81b16d2b10b15bf60
tree7462e77a9861bc1820d84623c11aa3ef17b122b6
parentf7ce917c8dfba330586791ceb4bdd06bc61c0547
lei_store: add ->set_eml, ->add_eml can return smsg

Add a ->set_eml method which can be a useful fire-and-forget
way of either adding new files to store OR setting keywords
on them.

When seeing brand-new messages, add_eml can afford to return
more information in the smsg instead of just the OID.
lib/PublicInbox/LeiStore.pm
t/lei_store.t