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

Function cbm_remove_codex_hooks

src/cli/cli.c:3490–3495  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3488}
3489
3490int cbm_remove_codex_hooks(const char *config_path) {
3491 return config_path &&
3492 cbm_toml_remove_managed_block(config_path, CODEX_HOOK_BEGIN, CODEX_HOOK_END) == 0
3493 ? CLI_OK
3494 : CLI_ERR;
3495}
3496
3497/* ── OpenCode MCP config (JSON with "mcp" key) ───────────────── */
3498

Callers 3

uninstall_cli_agentsFunction · 0.85
test_cli.cFile · 0.85

Calls 1

Tested by

no test coverage detected