| 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 | |
| 994 | SC::Result SC::AsyncFileSystemOperation::copyDirectory(AsyncEventLoop& eventLoop, StringSpan path, |
| 995 | StringSpan destinationPath, FileSystemCopyFlags copyFlags) |
| 996 | { |
no test coverage detected