From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 07CC11F9FE for ; Wed, 3 Mar 2021 13:48:58 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 1/4] eml: each_part: document IMAP user of the $all parameter Date: Wed, 3 Mar 2021 13:48:54 +0000 Message-Id: <20210303134857.7227-2-e@80x24.org> In-Reply-To: <20210303134857.7227-1-e@80x24.org> References: <20210303134857.7227-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 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