| 796 | } |
| 797 | |
| 798 | static bool has_prerelease(const char *v) { |
| 799 | if (*v == 'v' || *v == 'V') { |
| 800 | v++; |
| 801 | } |
| 802 | return strchr(v, '-') != NULL; |
| 803 | } |
| 804 | |
| 805 | int cbm_compare_versions(const char *a, const char *b) { |
| 806 | int pa[SEMVER_PARTS]; |
no outgoing calls
no test coverage detected