MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / has_prerelease

Function has_prerelease

src/cli/cli.c:1039–1044  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

cbm_compare_versionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected