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

Function code_node

src/pipeline/doc_links_pdf.c:277–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275}
276
277static bool code_node(const pdfr_index_t *x, const cbm_gbuf_node_t *n) {
278 if (!n->label || in_list(n->label, PDFR_EXCLUDED_LABELS) || !n->qualified_name ||
279 !n->qualified_name[0]) {
280 return false;
281 }
282 if (n->file_path && n->file_path[0] == '<') {
283 return false; /* builtins */
284 }
285 return strncmp(rel_qn(x, n->qualified_name), "__", 2) != 0; /* dependency stand-ins */
286}
287
288/* s is a component-aligned suffix of q ('.'-separated) */
289static bool comp_suffix(const char *q, const char *s) {

Callers 3

index_irregularFunction · 0.85
qn_candidateFunction · 0.85
resolve_formFunction · 0.85

Calls 2

in_listFunction · 0.85
rel_qnFunction · 0.85

Tested by

no test coverage detected