notmuch: add TODO
This commit is contained in:
parent
cf5a6fadfd
commit
d98d429b5c
@ -518,6 +518,7 @@ impl Notmuch {
|
||||
}
|
||||
|
||||
pub fn count(&self, query: &str) -> Result<usize, NotmuchError> {
|
||||
// TODO: compare speed of notmuch count for * w/ and w/o --output=threads
|
||||
let res = self.run_notmuch(["count", "--output=threads", query])?;
|
||||
// Strip '\n' from res.
|
||||
let s = std::str::from_utf8(&res[..res.len() - 1])?;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user