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

Function cancel_active_git_entry

src/watcher/watcher.c:1389–1396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1387/* ── Blocking run loop ──────────────────────────────────────────── */
1388
1389static void cancel_active_git_entry(const char *key, void *value, void *user_data) {
1390 (void)key;
1391 (void)user_data;
1392 project_state_t *state = value;
1393 if (state && state->active_git) {
1394 (void)cbm_subprocess_request_cancel(state->active_git);
1395 }
1396}
1397
1398void cbm_watcher_stop(cbm_watcher_t *w) {
1399 if (w) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected