| 535 | } |
| 536 | |
| 537 | SC::Result SC::FileSystem::removeEmptyDirectories(Span<const StringSpan> directories) |
| 538 | { |
| 539 | StringSpan encodedPath; |
| 540 | for (StringSpan path : directories) |
| 541 | { |
| 542 | SC_TRY(convert(path, fileFormatBuffer1, fileTransportBuffer1, &encodedPath)); |
| 543 | SC_TRY_FORMAT_ERRNO(path, FileSystem::Operations::removeEmptyDirectory(encodedPath)); |
| 544 | } |
| 545 | return Result(true); |
| 546 | } |
| 547 | |
| 548 | SC::Result SC::FileSystem::makeDirectories(Span<const StringSpan> directories) |
| 549 | { |