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

Function cpp_recv_write

tests/test_pipeline.c:23032–23041  ·  view source on GitHub ↗

#1153: a C++ method called on the object a static factory returns * (`SecdManager::getInstance()->m()`, `Registry::instance().m()`, * `auto w = Widget::create(); w->m()`) got no CALLS edge when the class lives * in another file. The class is declared in a header, its methods are defined * out of line in a .cpp, and the call is in a third file -- the reporter's * layout. The cross-file C++ LSP

Source from the content-addressed store, hash-verified

23030 * fillers + CBM_WORKERS=4 force the parallel path; each test runs both. */
23031/* write_temp_file creates one directory level; this layout nests two. */
23032static void cpp_recv_write(const char *tmp, const char *name, const char *content) {
23033 char dir[512];
23034 snprintf(dir, sizeof(dir), "%s/%s", tmp, name);
23035 char *slash = strrchr(dir, '/');
23036 if (slash) {
23037 *slash = '\0';
23038 cbm_mkdir_p(dir, 0755);
23039 }
23040 write_temp_file(tmp, name, content);
23041}
23042
23043static void cpp_recv_write_fixture(const char *tmp, bool parallel) {
23044 cpp_recv_write(tmp, "app/src/SecdManager.h",

Callers 1

cpp_recv_write_fixtureFunction · 0.85

Calls 2

cbm_mkdir_pFunction · 0.85
write_temp_fileFunction · 0.85

Tested by

no test coverage detected