blob: 00cc192c55841934a8a61d4e15ac9cfbdf8d69ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
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()
}
}
|