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

Function uninstall_gitlab_durable_context

src/cli/cli.c:10605–10616  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10603}
10604
10605static void uninstall_gitlab_durable_context(const cbm_agent_registry_context_t *registry,
10606 const char *binary_path, bool dry_run) {
10607 char hooks_path[CLI_BUF_1K];
10608 if (!cbm_gitlab_hooks_path(registry, hooks_path, sizeof(hooks_path))) {
10609 record_agent_config_error(true, "GitLab Duo CLI", "hook_resolve", "hooks.json");
10610 return;
10611 }
10612 if (!dry_run && cbm_remove_gitlab_session_hook(hooks_path, binary_path) != CLI_OK) {
10613 record_agent_config_error(true, "GitLab Duo CLI", "session_hook_uninstall", hooks_path);
10614 }
10615 printf(" hook: removed canonical SessionStart entry\n");
10616}
10617
10618static void uninstall_devin_durable_context(const cbm_agent_registry_context_t *registry,
10619 const char *binary_path, const char *config_path,

Callers 1

Calls 3

cbm_gitlab_hooks_pathFunction · 0.85

Tested by

no test coverage detected