| 413 | } |
| 414 | |
| 415 | static bool path_is_root_syntax(const char *path) { |
| 416 | if (!path || !path[0]) { |
| 417 | return false; |
| 418 | } |
| 419 | for (const char *p = path; *p; p++) { |
| 420 | if (*p != '/' && *p != '\\' && *p != ':') { |
| 421 | return false; |
| 422 | } |
| 423 | } |
| 424 | return true; |
| 425 | } |
| 426 | |
| 427 | char *cbm_project_name_from_path(const char *abs_path) { |
| 428 | if (!abs_path || !abs_path[0]) { |
no outgoing calls
no test coverage detected