| 913 | } |
| 914 | |
| 915 | SC::Result SC::AsyncFileSystemOperation::copyDirectory(AsyncEventLoop& eventLoop, StringSpan path, |
| 916 | StringSpan destinationPath, FileSystemCopyFlags copyFlags) |
| 917 | { |
| 918 | SC_TRY(checkState()); |
| 919 | operation = Operation::CopyDirectory; |
| 920 | new (©DirectoryData, PlacementNew()) CopyDirectoryData({path, destinationPath, copyFlags}); |
| 921 | loopWork.work = [&]() |