| 557 | } |
| 558 | |
| 559 | SC::Result SC::FileSystem::makeDirectoriesRecursive(Span<const StringSpan> directories) |
| 560 | { |
| 561 | for (const auto& path : directories) |
| 562 | { |
| 563 | StringSpan encodedPath; |
| 564 | SC_TRY(convert(path, fileFormatBuffer1, fileTransportBuffer1, &encodedPath)); |
| 565 | SC_TRY(FileSystem::Operations::makeDirectoryRecursive(encodedPath)); |
| 566 | } |
| 567 | return Result(true); |
| 568 | } |
| 569 | |
| 570 | SC::Result SC::FileSystem::makeDirectoriesIfNotExists(Span<const StringSpan> directories) |
| 571 | { |
nothing calls this directly
no test coverage detected