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

Function discover_has_rel_path

tests/test_discover.c:40–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

test_discover.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected