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

Method main

src/async/imap/MCIMAPFetchFoldersOperation.cpp:44–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44void IMAPFetchFoldersOperation::main()
45{
46 ErrorCode error;
47 if (mFetchSubscribedEnabled) {
48 mFolders = session()->session()->fetchSubscribedFolders(&error);
49 }
50 else {
51 mFolders = session()->session()->fetchAllFolders(&error);
52 }
53 MC_SAFE_RETAIN(mFolders);
54 setError(error);
55}

Callers

nothing calls this directly

Calls 3

fetchAllFoldersMethod · 0.80
sessionMethod · 0.45

Tested by

no test coverage detected