MCPcopy Create free account
hub / github.com/MailCore/mailcore2 / main

Method main

src/async/imap/MCIMAPSearchOperation.cpp:67–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67void IMAPSearchOperation::main()
68{
69 ErrorCode error;
70 if (mExpression != NULL) {
71 mUids = session()->session()->search(folder(), mExpression, &error);
72 }
73 else {
74 mUids = session()->session()->search(folder(), mKind, mSearchString, &error);
75 }
76 MC_SAFE_RETAIN(mUids);
77 setError(error);
78}
79

Callers

nothing calls this directly

Calls 2

searchMethod · 0.45
sessionMethod · 0.45

Tested by

no test coverage detected