diff options
author | Eric Wong <e@80x24.org> | 2021-08-19 09:49:34 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-08-21 20:52:46 +0000 |
commit | 6b8a044462073a15f7746c597f4fd2d4bddf5e7a (patch) | |
tree | 928d54493df2ed01380b65397b8696671d676850 /lib/PublicInbox/LeiStore.pm | |
parent | d99020ac3612308d04e3760bd780417218748168 (diff) | |
download | public-inbox-6b8a044462073a15f7746c597f4fd2d4bddf5e7a.tar.gz |
This allows MUA-made flag changes to Maildirs to be instantly read and acknowledged for future search results. In the future, it may be used to speed up --augment and --import-before (the default) with with "lei q".
Diffstat (limited to 'lib/PublicInbox/LeiStore.pm')
-rw-r--r-- | lib/PublicInbox/LeiStore.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/PublicInbox/LeiStore.pm b/lib/PublicInbox/LeiStore.pm index e8334187..bbd853e5 100644 --- a/lib/PublicInbox/LeiStore.pm +++ b/lib/PublicInbox/LeiStore.pm @@ -222,6 +222,11 @@ sub lms_forget_folders { for my $f (@folders) { $lms->forget_folder($f) } } +sub lms_rename_folder { + my ($self, $old, $new) = @_; + _lms_rw($self)->rename_folder($old, $new); +} + sub set_sync_info { my ($self, $oidhex, $folder, $id) = @_; _lms_rw($self)->set_src($oidhex, $folder, $id); |