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

Function cbm_config_close

src/cli/cli.c:6476–6484  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6474}
6475
6476void cbm_config_close(cbm_config_t *cfg) {
6477 if (!cfg) {
6478 return;
6479 }
6480 if (cfg->db) {
6481 sqlite3_close(cfg->db);
6482 }
6483 free(cfg);
6484}
6485
6486const char *cbm_config_get(cbm_config_t *cfg, const char *key, const char *default_val) {
6487 static CBM_TLS char result_buf[CLI_BUF_4K];

Callers 8

cbm_cmd_configFunction · 0.85
handle_ui_configFunction · 0.85
host_state_freeFunction · 0.85
test_cli.cFile · 0.85
test_httpd.cFile · 0.85

Calls

no outgoing calls

Tested by 2