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

Function cbm_config_close

src/cli/cli.c:6640–6648  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6638}
6639
6640void cbm_config_close(cbm_config_t *cfg) {
6641 if (!cfg) {
6642 return;
6643 }
6644 if (cfg->db) {
6645 sqlite3_close(cfg->db);
6646 }
6647 free(cfg);
6648}
6649
6650const char *cbm_config_get(cbm_config_t *cfg, const char *key, const char *default_val) {
6651 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