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

Function disc_has

tests/test_discover.c:902–909  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

900}
901
902static bool disc_has(const cbm_file_info_t *files, int count, const char *rel_path) {
903 for (int i = 0; i < count; i++) {
904 if (strcmp(files[i].rel_path, rel_path) == 0) {
905 return true;
906 }
907 }
908 return false;
909}
910
911/* A .gitignore never hides a file git tracks: git applies ignore rules to
912 * untracked paths only. cluster-api's nested `.gitignore` line `manager`,

Callers 1

test_discover.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected