| 819 | } |
| 820 | |
| 821 | static bool has_prerelease(const char *v) { |
| 822 | if (*v == 'v' || *v == 'V') { |
| 823 | v++; |
| 824 | } |
| 825 | return strchr(v, '-') != NULL; |
| 826 | } |
| 827 | |
| 828 | int cbm_compare_versions(const char *a, const char *b) { |
| 829 | int pa[SEMVER_PARTS]; |
no outgoing calls
no test coverage detected