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

Function cbm_config_close

src/cli/cli.c:6497–6505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6495}
6496
6497void cbm_config_close(cbm_config_t *cfg) {
6498 if (!cfg) {
6499 return;
6500 }
6501 if (cfg->db) {
6502 sqlite3_close(cfg->db);
6503 }
6504 free(cfg);
6505}
6506
6507const char *cbm_config_get(cbm_config_t *cfg, const char *key, const char *default_val) {
6508 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