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

Function pc_path

tests/test_pipeline_conventions.c:46–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44typedef struct { pc_env_value_t values[4]; bool saved; } pc_env_t;
45
46static bool pc_path(char *out, size_t cap, const char *base, const char *leaf) {
47 int n = snprintf(out, cap, "%s/%s", base, leaf);
48 return n > 0 && (size_t)n < cap;
49}
50static bool pc_write(const char *path, const char *text) {
51 FILE *f = cbm_fopen(path, "wb");
52 if (!f) return false;

Callers 4

pc_source_writeFunction · 0.85
pc_fixture_openFunction · 0.85
pc_cpp_filesFunction · 0.85
pc_collect_spill_witnessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected