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:6615–6624  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6613}
6614
6615static int cbm_upsert_augment_coverage_hook(const char *settings_path, const char *script_path) {
6616 return upsert_hooks_json((hooks_upsert_args_t){
6617 .settings_path = settings_path,
6618 .hook_event = "PostToolUse",
6619 .matcher_str = "view",
6620 .command_str = script_path,
6621 .timeout_value = AUGMENT_HOOK_TIMEOUT_MS,
6622 .match_command_exact = script_path,
6623 });
6624}
6625
6626static int cbm_remove_augment_coverage_hook(const char *settings_path, const char *script_path) {
6627 return remove_hooks_json((hooks_remove_args_t){

Callers 1

Calls 1

upsert_hooks_jsonFunction · 0.85

Tested by

no test coverage detected