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

Function pf_fail_rename

tests/test_pipeline_frozen.c:682–690  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

680 }
681}
682static int pf_fail_rename(const char *stage, const char *destination, void *context) {
683 (void)destination;
684 pf_hook_t *hook = context;
685 hook->rename_called = true;
686 if (strlen(stage) < sizeof(hook->stage))
687 memcpy(hook->stage, stage, strlen(stage) + 1);
688 errno = EACCES;
689 return -1;
690}
691static bool pf_hook_failure(pf_fixture_t *f, pf_hook_kind_t kind) {
692 cbm_pipeline_frozen_t *owner = NULL;
693 if (!pf_source_write(f, "ordinary.c", pf_ordinary) ||

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected