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

Function cbm_profile_init

src/foundation/profile.c:23–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21bool cbm_profile_active = false;
22
23void cbm_profile_init(void) {
24 const char *env = getenv("CBM_PROFILE");
25 if (env && env[0] != '\0' && env[0] != '0') {
26 cbm_profile_active = true;
27 }
28}
29
30void cbm_profile_enable(void) {
31 cbm_profile_active = true;

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected