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

Function file_node_for

src/pipeline/pass_parallel.c:2863–2873  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2861}
2862
2863static const cbm_gbuf_node_t *file_node_for(const cbm_gbuf_t *gbuf, const char *project,
2864 const char *rel) {
2865 if (tl_file_node_gbuf == gbuf && tl_file_node_rel == rel) {
2866 return tl_file_node;
2867 }
2868 const cbm_gbuf_node_t *node = cbm_pipeline_file_node(gbuf, project, rel);
2869 tl_file_node_gbuf = gbuf;
2870 tl_file_node_rel = rel;
2871 tl_file_node = node;
2872 return node;
2873}
2874
2875static const cbm_gbuf_node_t *find_source_node(const cbm_gbuf_t *gbuf, const char *project,
2876 const char *rel, const char *enclosing_qn) {

Callers 1

find_source_nodeFunction · 0.85

Calls 1

cbm_pipeline_file_nodeFunction · 0.85

Tested by

no test coverage detected