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

Function has_prerelease

src/cli/cli.c:821–826  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

cbm_compare_versionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected