diff options
author | Julian Pidancet <julian.pidancet@oracle.com> | 2022-10-26 22:29:06 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-10-27 21:45:31 +0200 |
commit | c31a5fc33dbf807a4514722785ebb70b0171c736 (patch) | |
tree | 9fbc3fd675012a293ed21d41384bcfe82f0f58dd /worker/maildir | |
parent | fbff8cf0ac577d5e7d981b54efd2919212fd1db1 (diff) | |
download | aerc-c31a5fc33dbf807a4514722785ebb70b0171c736.tar.gz |
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>
Diffstat (limited to 'worker/maildir')
0 files changed, 0 insertions, 0 deletions