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

Function cancel_active_git_entry

src/watcher/watcher.c:1771–1778  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1769/* ── Blocking run loop ──────────────────────────────────────────── */
1770
1771static void cancel_active_git_entry(const char *key, void *value, void *user_data) {
1772 (void)key;
1773 (void)user_data;
1774 project_state_t *state = value;
1775 if (state && state->active_git) {
1776 (void)cbm_subprocess_request_cancel(state->active_git);
1777 }
1778}
1779
1780void cbm_watcher_stop(cbm_watcher_t *w) {
1781 if (w) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected