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

Function gic_match

tests/test_gitignore_checked.c:89–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89static bool gic_match(cbm_ignore_checked_t *owner, const cbm_ignore_program_t *program,
90 const char *path, bool directory, cbm_ignore_decision_t expected) {
91 cbm_ignore_checked_control_t control = gic_control();
92 cbm_ignore_checked_error_t error;
93 cbm_ignore_decision_t decision = CBM_IGNORE_UNAVAILABLE;
94 cbm_ignore_checked_status_t status = cbm_ignore_checked_match(
95 owner, program, path, strlen(path), directory, &control, &decision, &error);
96 return gic_status(status, CBM_IGNORE_CHECKED_OK, &error) && decision == expected;
97}
98
99static bool gic_usage_equal(const cbm_ignore_checked_usage_t *a,
100 const cbm_ignore_checked_usage_t *b) {

Callers 6

gic_semantic_oneFunction · 0.85
gic_depth_caseFunction · 0.85
gic_max_depth_boundaryFunction · 0.85
gic_long_runFunction · 0.85

Calls 3

gic_controlFunction · 0.85
cbm_ignore_checked_matchFunction · 0.85
gic_statusFunction · 0.85

Tested by

no test coverage detected