diff options
author | Eric Wong <e@80x24.org> | 2023-12-29 18:05:14 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-12-30 06:44:02 +0000 |
commit | 5aab49f319679cf7912f1abf4914272e5112e247 (patch) | |
tree | feb93cd9b7062e61dd547b96fce91b5231bade88 /lib/PublicInbox/LeiConvert.pm | |
parent | cf977e706b07e80f394570a393eb2169b9b9a1a7 (diff) | |
download | public-inbox-5aab49f319679cf7912f1abf4914272e5112e247.tar.gz |
The MH format is widely-supported and used by various MUAs such as mutt and sylpheed, and a MH-like format is used by mlmmj for archives, as well. Locking implementations for writes are inconsistent, so this commit doesn't support writes, yet. inotify|EVFILT_VNODE watches aren't supported, yet, but that'll have to come since MH allows packing unused integers and renaming files.
Diffstat (limited to 'lib/PublicInbox/LeiConvert.pm')
-rw-r--r-- | lib/PublicInbox/LeiConvert.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/PublicInbox/LeiConvert.pm b/lib/PublicInbox/LeiConvert.pm index 8f628562..17a952f2 100644 --- a/lib/PublicInbox/LeiConvert.pm +++ b/lib/PublicInbox/LeiConvert.pm @@ -28,6 +28,11 @@ sub input_maildir_cb { $self->{wcb}->(undef, { kw => $kw }, $eml); } +sub input_mh_cb { + my ($dn, $bn, $kw, $eml, $self) = @_; + $self->{wcb}->(undef, { kw => $kw }, $eml); +} + sub process_inputs { # via wq_do my ($self) = @_; local $PublicInbox::DS::in_loop = 0; # force synchronous awaitpid |