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

Function nongit_poll

tests/test_watcher.c:2444–2447  ·  view source on GitHub ↗

Bypass the adaptive interval and run one poll cycle; returns the number of * reindexes that cycle performed. */

Source from the content-addressed store, hash-verified

2442/* Bypass the adaptive interval and run one poll cycle; returns the number of
2443 * reindexes that cycle performed. */
2444static int nongit_poll(cbm_watcher_t *w, const char *project) {
2445 cbm_watcher_touch(w, project);
2446 return cbm_watcher_poll_once(w);
2447}
2448
2449/* Control: with the opt-in OFF (the default) a non-git root is never
2450 * refreshed, however its indexable files change. watcher_non_git_skips covers

Callers 1

test_watcher.cFile · 0.85

Calls 2

cbm_watcher_touchFunction · 0.85
cbm_watcher_poll_onceFunction · 0.85

Tested by

no test coverage detected