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

Function impact_test_write

tests/test_ui.c:2347–2355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2345}
2346
2347static bool impact_test_write(const char *root, const char *file, const char *value) {
2348 char path[1024];
2349 snprintf(path, sizeof(path), "%s/%s", root, file);
2350 FILE *fp = cbm_fopen(path, "wb");
2351 if (!fp)
2352 return false;
2353 fputs(value, fp);
2354 return fclose(fp) == 0;
2355}
2356
2357static bool atlas_history_test_repo(const char *root, const char *subject, const char *remote) {
2358 const char *init[] = {"init", "-q", NULL};

Callers 2

atlas_history_test_repoFunction · 0.85
test_ui.cFile · 0.85

Calls 1

cbm_fopenFunction · 0.85

Tested by

no test coverage detected