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

Function tsd_node

tests/test_test_impact_seed.c:23–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21} tsd_fixture_t;
22
23static int64_t tsd_node(tsd_fixture_t *f, const char *label, const char *name, const char *file,
24 int start, int end) {
25 char qn[256];
26 snprintf(qn, sizeof(qn), "p.%s.%s.%d", file, name, start);
27 cbm_node_t node = {.project = "p",
28 .label = label,
29 .name = name,
30 .qualified_name = qn,
31 .file_path = file,
32 .start_line = start,
33 .end_line = end};
34 return cbm_store_upsert_node(f->store, &node);
35}
36
37/* Sources: pairs of (path, text). Model: the test sources among them. */
38static bool tsd_open(tsd_fixture_t *f, const char *const *files, int count) {

Callers 1

Calls 1

cbm_store_upsert_nodeFunction · 0.85

Tested by

no test coverage detected