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

Function ci_path

tests/test_test_impact_changes.c:24–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22#define CI_SENTINEL ((cbm_changes_t *)(void *)&ci_sentinel_byte)
23static bool ci_eq(const char *a,const char *b) { return a && b && strcmp(a,b)==0; }
24static bool ci_path(const cbm_change_file_t *row,const unsigned char *path,size_t n,char status) {
25 return row && row->path && row->path_length==n && memcmp(row->path,path,n)==0 &&
26 row->path[n]==0 && row->status==status;
27}
28static bool ci_cpath(const cbm_change_file_t *row,const char *path,char status) {
29 return ci_path(row,(const unsigned char *)path,strlen(path),status);
30}

Callers 1

ci_cpathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected