| 598 | } |
| 599 | |
| 600 | bool SC::FileSystem::exists(StringSpan fileOrDirectory) |
| 601 | { |
| 602 | StringSpan encodedPath; |
| 603 | SC_TRY(convert(fileOrDirectory, fileFormatBuffer1, fileTransportBuffer1, &encodedPath)); |
| 604 | return FileSystem::Operations::exists(encodedPath); |
| 605 | } |
| 606 | |
| 607 | bool SC::FileSystem::existsAndIsDirectory(StringSpan directory) |
| 608 | { |