summaryrefslogtreecommitdiff
path: root/src/cmd/search.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/search.rs')
-rw-r--r--src/cmd/search.rs17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/cmd/search.rs b/src/cmd/search.rs
deleted file mode 100644
index 00cc192..0000000
--- a/src/cmd/search.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::cmd::{open_submaildir, MailStorage};
-use crate::de_jmhoffmann_jwebmail_mailstorage::Call_Search;
-
-pub fn search(
- ms: &MailStorage,
- call: &mut dyn Call_Search,
- folder: String,
- _pattern: String,
-) -> varlink::Result<()> {
- if let Some(p) = ms.maildir_path.read().unwrap().clone() {
- let md = open_submaildir(p, &folder);
-
- todo!();
- } else {
- call.reply_not_initialized()
- }
-}