| 101 | } |
| 102 | |
| 103 | bool FileSystemBase::IsRelative(const StringView& path) |
| 104 | { |
| 105 | const bool isRooted = |
| 106 | (path.Length() >= 2 && StringUtils::IsAlpha(path[0]) && path[1] == ':') || |
| 107 | path.StartsWith(StringView(TEXT("\\\\"), 2), StringSearchCase::CaseSensitive) || |
| 108 | path.StartsWith('\\') || |
| 109 | path.StartsWith('/'); |
| 110 | return !isRooted; |
| 111 | } |
| 112 | |
| 113 | String FileSystemBase::GetExtension(const StringView& path) |
| 114 | { |
no test coverage detected