]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
codesearchidx: use {topdir} for consistency
authorEric Wong <e@80x24.org>
Wed, 8 Oct 2025 21:24:20 +0000 (21:24 +0000)
committerEric Wong <e@80x24.org>
Fri, 10 Oct 2025 01:12:53 +0000 (01:12 +0000)
commit36bd98958488a639cdf13d0125f7992717b5311c
tree8c6b4b4b27cee2f20ec6b36f78facda169da6cce
parent848fbcda3f97777a60501cc9ade3ff665eefc159
codesearchidx: use {topdir} for consistency

There's no reason for the read-only CodeSearch and read-write
CodeSearchIdx to use different field names for referring to the
same thing.  Consistently use {topdir} since it's inspired by
ExtSearch{,Idx} and also matches the configuration knob.  This
will make sharing methods between CodeSearch and CodeSearchIdx
easier.
lib/PublicInbox/CodeSearchIdx.pm
lib/PublicInbox/Xapcmd.pm