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

Function td_identifier

src/discover/test_conventions.c:55–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55static bool td_identifier(const char *text, size_t len) {
56 if (!len || !td_identifier_first((unsigned char)text[0]))
57 return false;
58 for (size_t i = 1; i < len; i++) {
59 unsigned char ch = (unsigned char)text[i];
60 if (!td_identifier_first(ch) && !(ch >= '0' && ch <= '9'))
61 return false;
62 }
63 return true;
64}
65
66static bool td_copy_string(cbm_test_declarations_t *declarations, yyjson_val *value,
67 bool identifier, const char **result) {

Callers 1

td_copy_stringFunction · 0.85

Calls 1

td_identifier_firstFunction · 0.85

Tested by

no test coverage detected