| 217 | } |
| 218 | |
| 219 | static bool repoHasMarkers(StringSpan path) |
| 220 | { |
| 221 | if (!isAbsoluteNative(path) || !pathExistsDirectory(path)) |
| 222 | return false; |
| 223 | |
| 224 | StringPath marker; |
| 225 | if (!pathJoin(marker, path, "SC.cpp")) |
| 226 | return false; |
| 227 | if (!pathExistsFile(marker.view())) |
| 228 | return false; |
| 229 | if (!pathJoin(marker, path, "SC.sh")) |
| 230 | return false; |
| 231 | return pathExistsFile(marker.view()); |
| 232 | } |
| 233 | |
| 234 | static bool normalizeNativePath(StringSpan path, StringPath& normalizedPath) |
| 235 | { |
no test coverage detected