MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / MakePreparedFile

Function MakePreparedFile

Telegram/SourceFiles/storage/localimageloader.cpp:453–456  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

451}
452
453std::shared_ptr<FilePrepareResult> MakePreparedFile(
454 FilePrepareDescriptor &&descriptor) {
455 return std::make_shared<FilePrepareResult>(std::move(descriptor));
456}
457
458FileLoadTask::FileLoadTask(Args &&args)
459: _id(args.idOverride ? args.idOverride : base::RandomValue<uint64>())

Callers 7

PrepareWallPaperFunction · 0.85
PrepareThemeMediaFunction · 0.85
processMethod · 0.85
PrepareStickerWebpFunction · 0.85
PreparePeerPhotoFunction · 0.85
PrepareRingtoneDocumentFunction · 0.85
uploadEncryptedFileMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected