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

Function capture_data_callback

tests/test_watcher.c:3712–3717  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3710static int *g_cbdata_received = NULL;
3711
3712static int capture_data_callback(const char *name, const char *path, void *ud) {
3713 (void)name;
3714 (void)path;
3715 g_cbdata_received = (int *)ud;
3716 return 0;
3717}
3718
3719TEST(watcher_callback_data_passed) {
3720 /* Verify that user_data pointer is accessible in the callback */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected