aerc/worker
Julian Pidancet c31a5fc33d notmuch: simplify DirectoryInfo emitting logic
Refactor the code emitting DirectoryInfo messages. Reduce function
call indirections by retiring gatherDirectoryInfo(), buildDirInfo() and
emitDirectoryInfo(), and replacing them with getDirectoryInfo()
(aligning the code with what is done in the maildir worker by the same
occasion).

Also merge queryFromName(), which no longer needs to be called from
different places, in handleOpenDirectory().

Signed-off-by: Julian Pidancet <julian.pidancet@oracle.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Acked-by: Tim Culverhouse <tim@timculverhouse.com>
2022-10-27 21:45:31 +02:00
..
handlers go.mod: change base git url 2021-11-05 10:21:45 +01:00
imap imap: fix flags update 2022-10-04 10:19:40 +02:00
lib maildir: replace ListFolder method with FolderMap 2022-10-27 21:39:41 +02:00
maildir maildir: replace ListFolder method with FolderMap 2022-10-27 21:39:41 +02:00
mbox logging: substitute %w for %v 2022-10-02 18:56:26 +02:00
notmuch notmuch: simplify DirectoryInfo emitting logic 2022-10-27 21:45:31 +02:00
types types: remove unused FullMessage.Info field 2022-10-25 21:28:56 +02:00
handler_notmuch.go format: reformat code with go 1.17 2021-12-11 23:24:08 +01:00
worker.go aerc: use single event loop 2022-10-07 10:51:53 +02:00
worker_enabled.go mbox: implement an mbox backend worker 2022-07-14 23:14:45 +02:00