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

Function discover_has_rel_path

tests/test_discover.c:41–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41static bool discover_has_rel_path(const cbm_file_info_t *files, int count, const char *rel_path) {
42 for (int i = 0; i < count; i++) {
43 if (strcmp(files[i].rel_path, rel_path) == 0) {
44 return true;
45 }
46 }
47 return false;
48}
49
50/* ── Directory skip (always skipped) ───────────────────────────── */
51

Callers 1

test_discover.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected