| 790 | } |
| 791 | |
| 792 | static bool has_prerelease(const char *v) { |
| 793 | if (*v == 'v' || *v == 'V') { |
| 794 | v++; |
| 795 | } |
| 796 | return strchr(v, '-') != NULL; |
| 797 | } |
| 798 | |
| 799 | int cbm_compare_versions(const char *a, const char *b) { |
| 800 | int pa[SEMVER_PARTS]; |
no outgoing calls
no test coverage detected