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

Function pc_node

tests/test_pipeline_conventions.c:158–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156 return ok;
157}
158static bool pc_node(cbm_store_t *s, const char *qn, const char *name, const char *file,
159 const char *role, cbm_node_t *out) {
160 memset(out, 0, sizeof(*out));
161 return cbm_store_find_node_by_qn(s, PC_PROJECT, qn, out) == CBM_STORE_OK &&
162 pc_text(out->qualified_name, qn) && pc_text(out->name, name) &&
163 pc_text(out->file_path, file) && pc_role(out, role);
164}
165static bool pc_call(cbm_store_t *s, int64_t source, int64_t target) {
166 cbm_edge_t *edges = NULL; int count = 0;
167 bool read = cbm_store_find_edges_by_source_type(s, source, "CALLS", &edges, &count) == CBM_STORE_OK;

Callers 4

pc_c_graphFunction · 0.85
pc_ordinary_graphFunction · 0.85
pc_cpp_graphFunction · 0.85

Calls 3

pc_textFunction · 0.85
pc_roleFunction · 0.85

Tested by

no test coverage detected