]> Sergey Matveev's repositories - public-inbox.git/commitdiff
eml: each_part: document IMAP user of the $all parameter
authorEric Wong <e@80x24.org>
Wed, 3 Mar 2021 13:48:54 +0000 (13:48 +0000)
committerEric Wong <e@80x24.org>
Thu, 4 Mar 2021 18:29:17 +0000 (14:29 -0400)
I already forgot what it does and thought I was misusing
the API :x

lib/PublicInbox/Eml.pm

index 81a6632b7720c711c75562eb3a1bb99b2a98b01d..0697c3a50babd4a328a64905e7af07474d6b0afa 100644 (file)
@@ -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