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

Function cbm_profile_init

src/foundation/profile.c:22–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected