]> Sergey Matveev's repositories - public-inbox.git/commit
lei inspect: account for non-extindex inboxes
authorEric Wong <e@80x24.org>
Thu, 14 Oct 2021 03:12:25 +0000 (03:12 +0000)
committerEric Wong <e@80x24.org>
Thu, 14 Oct 2021 09:07:14 +0000 (09:07 +0000)
commitc8b441f4ddcb9f6cbbe54cd380fe89586d023124
tree2d63566131a6a465841ca330d24f4c05507304cf
parentc485036d0b1ce7ed94ea02f84a8a5cd86144ad02
lei inspect: account for non-extindex inboxes

Inbox->xdb does not exist, but this code path was apparently
never tested :x  I noticed this on basic v2 inbox, but it could
happen with any v1/v2 inbox.  Move ->num2docid into Search
so it's less awkward to use.
lib/PublicInbox/LeiInspect.pm
lib/PublicInbox/LeiSearch.pm
lib/PublicInbox/Search.pm
t/lei-mirror.t