From: Eric Wong Date: Wed, 3 Mar 2021 13:48:54 +0000 (+0000) Subject: eml: each_part: document IMAP user of the $all parameter X-Git-Tag: v1.7.0~1042 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=e3cee251defa7a1d8d2ae56c334a4e6cf2ba935b;p=public-inbox.git eml: each_part: document IMAP user of the $all parameter I already forgot what it does and thought I was misusing the API :x --- 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