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

Function pc_mutate_config

tests/test_pipeline_conventions.c:358–363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

356
357typedef struct { pc_fixture_t *fixture; int called; bool staged, written; } pc_hook_t;
358static void pc_mutate_config(cbm_pipeline_t *p, const char *staging, void *opaque) {
359 (void)p; pc_hook_t *h = opaque;
360 h->called++;
361 h->staged = pc_ordinary_graph(staging, "staged");
362 h->written = pc_write(h->fixture->config, pc_config1);
363}
364TEST(pipeline_conventions_publication_config_mutation_preserves_generation) {
365 ASSERT_EQ(pc_init_status, 0);
366 pc_env_t env; pc_fixture_t f = {0}; pc_snapshot_t snapshot;

Callers

nothing calls this directly

Calls 2

pc_ordinary_graphFunction · 0.85
pc_writeFunction · 0.85

Tested by

no test coverage detected