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

Function pf_path

tests/test_pipeline_frozen.c:65–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63 return a && b && !strcmp(a, b);
64}
65static bool pf_path(char *out, size_t size, const char *base, const char *leaf) {
66 int n = snprintf(out, size, "%s/%s", base, leaf);
67 return n > 0 && (size_t)n < size;
68}
69static bool pf_write(const char *path, const char *text) {
70 FILE *file = cbm_fopen(path, "wb");
71 if (!file)

Callers 7

pf_source_writeFunction · 0.85
pf_openFunction · 0.85
pf_before_publishFunction · 0.85
pf_hook_failureFunction · 0.85
pf_path_refusalFunction · 0.85
pf_unsupported_createFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected