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

Function cbm_upsert_augment_coverage_hook

src/cli/cli.c:5728–5737  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5726}
5727
5728static int cbm_upsert_augment_coverage_hook(const char *settings_path, const char *script_path) {
5729 return upsert_hooks_json((hooks_upsert_args_t){
5730 .settings_path = settings_path,
5731 .hook_event = "PostToolUse",
5732 .matcher_str = "view",
5733 .command_str = script_path,
5734 .timeout_value = AUGMENT_HOOK_TIMEOUT_MS,
5735 .match_command_exact = script_path,
5736 });
5737}
5738
5739static int cbm_remove_augment_coverage_hook(const char *settings_path, const char *script_path) {
5740 return remove_hooks_json((hooks_remove_args_t){

Callers 1

Calls 1

upsert_hooks_jsonFunction · 0.85

Tested by

no test coverage detected