sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 41462a71ffc5f1867730795c577df01a4c567654
parent a842bbcd6d302c24a7fa76d475d7e8fa623350dc
Author: William Morgan <wmorgan-sup@masanjin.net>
Date:   Sat, 19 Dec 2009 13:53:24 -0500

add Maildir#filename_for_id

Diffstat:
M lib/sup/maildir.rb | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/lib/sup/maildir.rb b/lib/sup/maildir.rb
@@ -187,6 +187,8 @@ class Maildir < Source
   def mark_seen msg; maildir_mark_file msg, "S" unless seen? msg; end
   def mark_trashed msg; maildir_mark_file msg, "T" unless trashed? msg; end
 
+  def filename_for_id id; @ids_to_fns[id] end
+
 private
 
   def make_id fn