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

Function rst_rows

tests/test_doc_links_rst.c:302–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300}
301
302static int rst_rows(const char *db, const char *raw_prefix, const char *reason) {
303 char sql[512];
304 snprintf(sql, sizeof(sql),
305 "SELECT COUNT(*) FROM doc_link_unresolved WHERE raw LIKE '%s%%' AND reason='%s'",
306 raw_prefix, reason);
307 return dm_count(db, sql);
308}
309
310TEST(rst_links_pipeline) {
311 char tmp[256];

Callers 1

Calls 1

dm_countFunction · 0.85

Tested by

no test coverage detected