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

Function th_gitctx_probe_thread

tests/test_httpd.c:1027–1035  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1025} th_gitctx_probe_t;
1026
1027static DWORD WINAPI th_gitctx_probe_thread(LPVOID arg) {
1028 th_gitctx_probe_t *p = (th_gitctx_probe_t *)arg;
1029 cbm_git_context_t ctx;
1030 memset(&ctx, 0, sizeof(ctx));
1031 int rc = cbm_git_context_resolve(p->path, &ctx);
1032 p->resolved_ok = (rc == 0 && ctx.is_git) ? 1 : 0;
1033 cbm_git_context_free(&ctx);
1034 return 0;
1035}
1036#endif
1037
1038/* The load-bearing end-to-end repro of #798: while the single-threaded UI server

Callers

nothing calls this directly

Calls 2

cbm_git_context_resolveFunction · 0.85
cbm_git_context_freeFunction · 0.85

Tested by

no test coverage detected