]> Sergey Matveev's repositories - public-inbox.git/commit
watch: remove {mdir} array
authorEric Wong <e@yhbt.net>
Sat, 27 Jun 2020 10:03:51 +0000 (10:03 +0000)
committerEric Wong <e@yhbt.net>
Sun, 28 Jun 2020 22:27:27 +0000 (22:27 +0000)
commit204e451851dfe510e16cc03e4a6ea6242c4e9076
tree344ad4b7e66ab02188071dcd5d09a7cd96f89b51
parent62e3ea11522242c651ea4991712f040ab460223d
watch: remove {mdir} array

Since we store all watched directory names as keys in %mdmap,
there should be no need to keep an array of those directories
around.

t/watch_maildir*.t required changes to remove trained spam.
Once we've trained something as spam, there shouldn't be
a need to rescan it.
lib/PublicInbox/WatchMaildir.pm
t/watch_maildir.t
t/watch_maildir_v2.t