about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiStore.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-10-11 07:20:56 +0000
committerEric Wong <e@80x24.org>2023-10-11 22:10:50 +0000
commit905f07417459f958b394cad1c4ccd86f6f8cce7c (patch)
treeb66837e9c390befd49884fad33013ac76849448c /lib/PublicInbox/LeiStore.pm
parent04e0bf7b622dfbc8fdf85425f3bc9af19531f7c0 (diff)
downloadpublic-inbox-905f07417459f958b394cad1c4ccd86f6f8cce7c.tar.gz
This can probably be made asynchronous in the future via
PublicInbox::InputPipe, but it's good enough for testing.
Diffstat (limited to 'lib/PublicInbox/LeiStore.pm')
-rw-r--r--lib/PublicInbox/LeiStore.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/PublicInbox/LeiStore.pm b/lib/PublicInbox/LeiStore.pm
index e19ec88e..9c07af14 100644
--- a/lib/PublicInbox/LeiStore.pm
+++ b/lib/PublicInbox/LeiStore.pm
@@ -108,6 +108,11 @@ sub search {
         PublicInbox::LeiSearch->new($_[0]->{priv_eidx}->{topdir});
 }
 
+sub cat_blob {
+        my ($self, $oid) = @_;
+        $self->{im} ? $self->{im}->cat_blob($oid) : undef;
+}
+
 # follows the stderr file
 sub _tail_err {
         my ($self) = @_;