| 1037 | } |
| 1038 | |
| 1039 | static bool has_prerelease(const char *v) { |
| 1040 | if (*v == 'v' || *v == 'V') { |
| 1041 | v++; |
| 1042 | } |
| 1043 | return strchr(v, '-') != NULL; |
| 1044 | } |
| 1045 | |
| 1046 | int cbm_compare_versions(const char *a, const char *b) { |
| 1047 | int pa[SEMVER_PARTS]; |
no outgoing calls
no test coverage detected