]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Config.pm
manifest: support faster generation via [extindex "all"]
[public-inbox.git] / lib / PublicInbox / Config.pm
index 039eb445f6bbe54daadc977959e1101fae38af3c..251008a38e0e7e5b542c9675801e8d6b463a41c9 100644 (file)
@@ -94,6 +94,9 @@ sub lookup_ei {
        $self->{-ei_by_name}->{$name} //= _fill_ei($self, "extindex.$name");
 }
 
+# special case for [extindex "all"]
+sub ALL { lookup_ei($_[0], 'all') }
+
 sub each_inbox {
        my ($self, $cb, @arg) = @_;
        # may auto-vivify if config file is non-existent: