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

Function diff_file

tests/test_test_impact.c:516–525  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

514}
515
516static const cbm_diff_file_t *diff_file(const cbm_diff_t *d, const char *path) {
517 int n = 0;
518 const cbm_diff_file_t *files = cbm_diff_files(d, &n);
519 for (int i = 0; i < n; i++) {
520 if (strcmp(files[i].path, path) == 0) {
521 return &files[i];
522 }
523 }
524 return NULL;
525}
526
527static int diff_file_count(const cbm_diff_t *d) {
528 int n = 0;

Callers 1

test_test_impact.cFile · 0.85

Calls 1

cbm_diff_filesFunction · 0.85

Tested by

no test coverage detected