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

Function cbm_config_get_bool

src/cli/cli.c:7489–7493  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7487}
7488
7489bool cbm_config_get_bool(cbm_config_t *cfg, const char *key, bool default_val) {
7490 bool value = default_val;
7491 (void)cbm_config_get_bool_set(cfg, key, &value);
7492 return value;
7493}
7494
7495int cbm_config_get_int(cbm_config_t *cfg, const char *key, int default_val) {
7496 const char *val = cbm_config_get(cfg, key, NULL);

Callers 9

cbm_config_watch_non_gitFunction · 0.85
auto_watch_enabledFunction · 0.85
maybe_auto_indexFunction · 0.85
application_watch_statusFunction · 0.85
test_cli.cFile · 0.85

Calls 1

cbm_config_get_bool_setFunction · 0.85

Tested by

no test coverage detected