]> Sergey Matveev's repositories - public-inbox.git/commit
view: common thread walking interface
authorEric Wong <e@80x24.org>
Tue, 21 Jun 2016 02:58:58 +0000 (02:58 +0000)
committerEric Wong <e@80x24.org>
Tue, 21 Jun 2016 03:07:04 +0000 (03:07 +0000)
commitcf1fb806c5a4cb03833bd4276c0fb2906ebb9cc7
treeed8f92843c31fc61fb110a220ec52cb4e3c8b58a
parent76d8f68dc273e54809ad69cfe49e141003f790ef
view: common thread walking interface

Since we have a common pattern, for walking threads,
extract it into a function and reduce the amount of code
we haev.

This will make it easier to switch to an event-driven interface
for getline, too.
lib/PublicInbox/SearchView.pm
lib/PublicInbox/View.pm