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

Function pf_has_qn

tests/test_pipeline_frozen.c:1496–1505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1494/* ── A classified file list instead of discovery ──────────────────── */
1495
1496static bool pf_has_qn(const char *db, const char *qn) {
1497 cbm_store_t *store = cbm_store_open_path_query(db);
1498 if (!store)
1499 return false;
1500 cbm_node_t node = {0};
1501 bool found = cbm_store_find_node_by_qn(store, PF_PROJECT, qn, &node) == CBM_STORE_OK;
1502 cbm_node_free_fields(&node);
1503 cbm_store_close(store);
1504 return found;
1505}
1506
1507static cbm_pipeline_frozen_status_t pf_create_listed(pf_fixture_t *f,
1508 const cbm_pipeline_frozen_file_t *files,

Callers 1

Calls 4

cbm_node_free_fieldsFunction · 0.85
cbm_store_closeFunction · 0.85

Tested by

no test coverage detected