MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / wakeUpFromExternalThread

Method wakeUpFromExternalThread

Libraries/Async/Async.cpp:984–993  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

982 return eventLoop.start(*this);
983 }
984
985 loopWork.work = [&]() -> SC::Result
986 {
987 SC_TRY(FileSystem::Operations::removeFile(removeData.path));
988 return SC::Result(true);
989 };
990 loopWork.callback.bind<AsyncFileSystemOperation, &AsyncFileSystemOperation::onOperationCompleted>(*this);
991 return eventLoop.start(loopWork);
992}
993
994SC::Result SC::AsyncFileSystemOperation::copyDirectory(AsyncEventLoop& eventLoop, StringSpan path,
995 StringSpan destinationPath, FileSystemCopyFlags copyFlags)
996{

Callers 4

wakeUpMethod · 0.80
closeMethod · 0.80
executeWakeUpsMethod · 0.80

Calls 4

fetch_addMethod · 0.80
ResultClass · 0.70
exchangeMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected