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

Function gic_match_limit

tests/test_gitignore_checked.c:538–548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

536}
537
538static bool gic_match_limit(cbm_ignore_checked_t *owner, const cbm_ignore_program_t *program,
539 const char *path, cbm_ignore_cap_t cap) {
540 cbm_ignore_checked_control_t control = gic_control();
541 cbm_ignore_checked_error_t error;
542 cbm_ignore_decision_t decision = CBM_IGNORE_IGNORED;
543 cbm_ignore_checked_status_t status = cbm_ignore_checked_match(
544 owner, program, path, strlen(path), false, &control, &decision, &error);
545 return gic_status(status, CBM_IGNORE_CHECKED_LIMIT, &error) && error.cap == cap &&
546 decision == CBM_IGNORE_UNAVAILABLE &&
547 gic_terminal(owner, program, CBM_IGNORE_CHECKED_LIMIT);
548}
549
550static bool gic_depth_case(unsigned depth, bool earlier) {
551 cbm_ignore_checked_limits_t limits = gic_limits();

Callers 3

gic_depth_caseFunction · 0.85
gic_attempt_caseFunction · 0.85
gic_max_depth_boundaryFunction · 0.85

Calls 4

gic_controlFunction · 0.85
cbm_ignore_checked_matchFunction · 0.85
gic_statusFunction · 0.85
gic_terminalFunction · 0.85

Tested by

no test coverage detected