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

Function k8s_inc_count

tests/test_pipeline.c:3672–3685  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3670}
3671
3672static int k8s_inc_count(const char *db_path, const char *sql) {
3673 sqlite3 *db = NULL;
3674 int n = -1;
3675 if (sqlite3_open_v2(db_path, &db, SQLITE_OPEN_READONLY, NULL) == SQLITE_OK) {
3676 sqlite3_stmt *stmt = NULL;
3677 if (sqlite3_prepare_v2(db, sql, -1, &stmt, NULL) == SQLITE_OK &&
3678 sqlite3_step(stmt) == SQLITE_ROW) {
3679 n = sqlite3_column_int(stmt, 0);
3680 }
3681 sqlite3_finalize(stmt);
3682 }
3683 sqlite3_close(db);
3684 return n;
3685}
3686
3687TEST(incremental_k8s_edits_reach_other_files) {
3688 char tmp[256];

Callers 9

test_pipeline.cFile · 0.85
incremental_build_keepFunction · 0.85
incremental_compose_editFunction · 0.85
incremental_env_editFunction · 0.85
incremental_image_splitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected