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

Function pf_source_write

tests/test_pipeline_frozen.c:77–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75 return fclose(file) == 0 && ok;
76}
77static bool pf_source_write(pf_fixture_t *f, const char *leaf, const char *text) {
78 char path[1024];
79 return pf_path(path, sizeof(path), f->source, leaf) && pf_write(path, text);
80}
81static bool pf_absent(const char *path) {
82 cbm_path_info_t info;
83 return cbm_path_info_utf8(path, &info) == CBM_PATH_INFO_ABSENT;

Callers 6

pf_real_controlFunction · 0.85
pf_builtin_controlFunction · 0.85
pf_before_publishFunction · 0.85
pf_hook_failureFunction · 0.85
pf_many_sourcesFunction · 0.85

Calls 2

pf_pathFunction · 0.85
pf_writeFunction · 0.85

Tested by

no test coverage detected