]> Sergey Matveev's repositories - public-inbox.git/commit
msg_iter: new internal API for iterating through MIME
authorEric Wong <e@80x24.org>
Wed, 18 May 2016 20:30:31 +0000 (20:30 +0000)
committerEric Wong <e@80x24.org>
Thu, 19 May 2016 19:24:21 +0000 (19:24 +0000)
commit4f7977b42aab1595b3a45b41e19499b38c46c8cc
treeed78ef85b3401a2ede29bbe15e201b864d643b06
parent48b296d68d554499656cf8447f5ca841a8541ee7
msg_iter: new internal API for iterating through MIME

Unlike Email::MIME::walk_parts, this is non-recursive and gives
depth + index offset information about the part for creating
links for later retrieval

It is intended for read-only access and changes are not
propagated to the parent; however future versions of it
may clobber bodies or the original version as it iterates
to reduce memory overhead.

It is intended for making it easy to locate attachments within a
message in the WWW view.
lib/PublicInbox/MsgIter.pm [new file with mode: 0644]
t/msg_iter.t [new file with mode: 0644]