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

Function pc_cpp_files

tests/test_pipeline_conventions.c:402–408  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400}
401
402static bool pc_cpp_files(pc_fixture_t *f) {
403 char old[1024];
404 return pc_path(old, sizeof(old), f->repo, "unit.c") && cbm_unlink(old) == 0 &&
405 pc_write(f->config, pc_cpp_config) &&
406 pc_source_write(f, "engine.h", "struct Engine { void work() {} };\n") &&
407 pc_source_write(f, "unit.cpp", pc_cpp_source);
408}
409static bool pc_cpp_graph(const char *db) {
410 cbm_store_t *s = cbm_store_open_path_query(db); cbm_node_t owner = {0}, *nodes = NULL; int count = 0;
411 bool ok = s && pc_node(s, PC_PROJECT ".unit.CHECK_alpha", "CHECK_alpha", "unit.cpp", "case", &owner) &&

Callers 1

Calls 4

pc_pathFunction · 0.85
cbm_unlinkFunction · 0.85
pc_writeFunction · 0.85
pc_source_writeFunction · 0.85

Tested by

no test coverage detected