| 472 | } |
| 473 | |
| 474 | SC::Result SC::FileSystem::removeFileIfExists(StringSpan source) |
| 475 | { |
| 476 | if (existsAndIsFile(source)) |
| 477 | return removeFiles(Span<const StringSpan>{source}); |
| 478 | return Result(true); |
| 479 | } |
| 480 | |
| 481 | SC::Result SC::FileSystem::removeLinkIfExists(StringSpan source) |
| 482 | { |