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

Function cbm_config_close

src/cli/cli.c:7435–7443  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7433}
7434
7435void cbm_config_close(cbm_config_t *cfg) {
7436 if (!cfg) {
7437 return;
7438 }
7439 if (cfg->db) {
7440 sqlite3_close(cfg->db);
7441 }
7442 free(cfg);
7443}
7444
7445const char *cbm_config_get(cbm_config_t *cfg, const char *key, const char *default_val) {
7446 static CBM_TLS char result_buf[CLI_BUF_4K];

Callers 15

cbm_cmd_configFunction · 0.85
settings_openFunction · 0.85
load_index_policyFunction · 0.85
handle_ui_configFunction · 0.85
host_state_freeFunction · 0.85
test_cli.cFile · 0.85
test_mcp.cFile · 0.85
autoindex_limit_probeFunction · 0.85

Calls

no outgoing calls