| 841 | } |
| 842 | |
| 843 | static bool has_prerelease(const char *v) { |
| 844 | if (*v == 'v' || *v == 'V') { |
| 845 | v++; |
| 846 | } |
| 847 | return strchr(v, '-') != NULL; |
| 848 | } |
| 849 | |
| 850 | int cbm_compare_versions(const char *a, const char *b) { |
| 851 | int pa[SEMVER_PARTS]; |
no outgoing calls
no test coverage detected