| 494 | } |
| 495 | |
| 496 | SC::Result SC::FileSystem::removeDirectoriesRecursive(Span<const StringSpan> directories) |
| 497 | { |
| 498 | for (auto& path : directories) |
| 499 | { |
| 500 | StringSpan encodedPath; |
| 501 | SC_TRY(convert(path, fileFormatBuffer1, fileTransportBuffer1, &encodedPath)); |
| 502 | SC_TRY_FORMAT_ERRNO(path, FileSystem::Operations::removeDirectoryRecursive(encodedPath)); |
| 503 | } |
| 504 | return Result(true); |
| 505 | } |
| 506 | |
| 507 | SC::Result SC::FileSystem::copyFiles(Span<const CopyOperation> sourceDestination) |
| 508 | { |