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

Function run_doclinks

tests/test_doclinks.c:23–33  ·  view source on GitHub ↗

Run the pass with a minimal ctx (same shape as run_configlink). */

Source from the content-addressed store, hash-verified

21
22/* Run the pass with a minimal ctx (same shape as run_configlink). */
23static int run_doclinks(cbm_gbuf_t *gb, const char *project, const char *repo_path) {
24 atomic_int cancelled;
25 atomic_init(&cancelled, 0);
26 cbm_pipeline_ctx_t ctx = {
27 .project_name = project,
28 .repo_path = repo_path,
29 .gbuf = gb,
30 .cancelled = &cancelled,
31 };
32 return cbm_pipeline_pass_doclinks(&ctx);
33}
34
35/* Create a File node the way pass_structure does: QN via fqn_compute with
36 * "__file__", file_path = repo-relative path. Returns the node id. */

Callers 1

test_doclinks.cFile · 0.85

Calls 1

Tested by

no test coverage detected