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

Function cbm_remove_copilot_hooks

src/cli/cli.c:3779–3788  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3777}
3778
3779static int cbm_remove_copilot_hooks(const char *manifest_path, const char *binary_path) {
3780 char *manifest = cbm_build_copilot_hook_manifest(binary_path);
3781 if (!manifest || !manifest_path) {
3782 free(manifest);
3783 return CLI_ERR;
3784 }
3785 int rc = cbm_text_remove_owned_document(manifest_path, manifest);
3786 free(manifest);
3787 return rc >= 0 ? CLI_OK : CLI_ERR;
3788}
3789
3790static int cbm_upsert_factory_mcp(const char *binary_path, const char *config_path) {
3791 static const char *const path[] = {"mcpServers"};

Callers 1

Tested by

no test coverage detected