From e3cee251defa7a1d8d2ae56c334a4e6cf2ba935b Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 3 Mar 2021 13:48:54 +0000 Subject: [PATCH] eml: each_part: document IMAP user of the $all parameter I already forgot what it does and thought I was misusing the API :x --- lib/PublicInbox/Eml.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/PublicInbox/Eml.pm b/lib/PublicInbox/Eml.pm index 81a6632b..0697c3a5 100644 --- a/lib/PublicInbox/Eml.pm +++ b/lib/PublicInbox/Eml.pm @@ -234,6 +234,7 @@ sub mp_descend ($$) { # $cb - user-supplied callback sub # $arg - user-supplied arg (think pthread_create) # $once - unref body scalar during iteration +# $all - used by IMAP server, only sub each_part { my ($self, $cb, $arg, $once, $all) = @_; my $p = mp_descend($self, $once // 0) or -- 2.48.1