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

Method main

src/async/imap/MCIMAPFetchContentToFileOperation.cpp:83–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83void IMAPFetchContentToFileOperation::main()
84{
85 ErrorCode error = ErrorNone;
86 if (mLoadingByChunksEnabled) {
87 session()->session()->fetchMessageAttachmentToFileByChunksByUID(folder(), mUid, mPartID,
88 mEstimatedSize, mEncoding,
89 mFilename, mChunksSize,
90 this, &error);
91 } else {
92 session()->session()->fetchMessageAttachmentToFileByUID(folder(), mUid, mPartID,
93 mEncoding, mFilename,
94 this, &error);
95 }
96 setError(error);
97}

Callers

nothing calls this directly

Tested by

no test coverage detected