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

Function cbm_profile_init

src/foundation/profile.c:24–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

mainFunction · 0.85

Calls 1

cbm_runtime_getenvFunction · 0.85

Tested by

no test coverage detected