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

Function node_is_test

src/pipeline/pass_tests.c:47–52  ·  view source on GitHub ↗

Check if a node has is_test:true in its properties JSON. */

Source from the content-addressed store, hash-verified

45
46/* Check if a node has is_test:true in its properties JSON. */
47static bool node_is_test(const cbm_gbuf_node_t *n) {
48 if (!n || !n->properties_json) {
49 return false;
50 }
51 return strstr(n->properties_json, "\"is_test\":true") != NULL;
52}
53
54/* Helper to check suffix. */
55static bool str_ends_with(const char *s, size_t slen, const char *suffix) {

Callers 1

create_tests_edgesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected