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

Function pf_feature_control

tests/test_pipeline_frozen.c:310–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308 return ok;
309}
310static bool pf_feature_control(pf_fixture_t *f) {
311 cbm_pipeline_frozen_t *owner = NULL;
312 bool ok = pf_create(f, "{}", NULL, &owner) == CBM_PIPELINE_FROZEN_OK && owner &&
313 cbm_pipeline_frozen_build(owner) == CBM_PIPELINE_FROZEN_OK &&
314 pf_text(cbm_pipeline_frozen_candidate_path(owner), f->db) && pf_ordinary_graph(f->db);
315 cbm_pipeline_frozen_free(owner);
316 bool retained = !pf_absent(f->db);
317 bool removed = retained && cbm_unlink(f->db) == 0;
318 return ok && retained && removed && pf_directory_only(f->destination, NULL);
319}
320static bool pf_snapshot_view(const cbm_userconfig_t *config, cbm_userconfig_source_state_t state,
321 const char *expected, size_t len) {
322 const char *bytes = "guard";

Callers 1

Calls 9

pf_createFunction · 0.85
pf_textFunction · 0.85
pf_ordinary_graphFunction · 0.85
cbm_pipeline_frozen_freeFunction · 0.85
pf_absentFunction · 0.85
cbm_unlinkFunction · 0.85
pf_directory_onlyFunction · 0.85

Tested by

no test coverage detected