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

Function cbm_remove_gitlab_session_hook

src/cli/cli.c:5006–5016  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5004}
5005
5006static int cbm_remove_gitlab_session_hook(const char *hooks_path, const char *binary_path) {
5007 char command[CLI_BUF_8K];
5008 if (cbm_build_augment_command(binary_path, command, sizeof(command)) != CLI_OK) {
5009 return CLI_ERR;
5010 }
5011 return remove_hooks_json((hooks_remove_args_t){
5012 .settings_path = hooks_path,
5013 .hook_event = "SessionStart",
5014 .match_command_exact = command,
5015 });
5016}
5017
5018static int cbm_edit_devin_context_hooks(const char *config_path, const char *binary_path,
5019 bool remove, bool include_session_start) {

Callers 1

Calls 2

remove_hooks_jsonFunction · 0.85

Tested by

no test coverage detected