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

Function pc_source_write

tests/test_pipeline_conventions.c:57–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 return fclose(f) == 0 && ok;
56}
57static bool pc_source_write(pc_fixture_t *f, const char *leaf, const char *text) {
58 char path[1024];
59 return pc_path(path, sizeof(path), f->repo, leaf) && pc_write(path, text);
60}
61static bool pc_copy(const char *from, const char *to) {
62 FILE *a = cbm_fopen(from, "rb"), *b = cbm_fopen(to, "wb");
63 bool ok = a && b;

Callers 6

pc_fixture_openFunction · 0.85
pc_seedFunction · 0.85
pc_configured_caseFunction · 0.85
pc_typed_degradeFunction · 0.85
pc_cpp_filesFunction · 0.85

Calls 2

pc_pathFunction · 0.85
pc_writeFunction · 0.85

Tested by

no test coverage detected