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

Function gic_status

tests/test_gitignore_checked.c:52–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52static bool gic_status(cbm_ignore_checked_status_t actual, cbm_ignore_checked_status_t expected,
53 const cbm_ignore_checked_error_t *error) {
54 if (actual == expected && error->status == expected &&
55 (expected == CBM_IGNORE_CHECKED_LIMIT || error->cap == CBM_IGNORE_CAP_NONE))
56 return true;
57 fprintf(stderr, "checked-ignore status actual=%d expected=%d error=%d cap=%d offset=%zu\n",
58 (int)actual, (int)expected, (int)error->status, (int)error->cap, error->byte_offset);
59 return false;
60}
61
62static bool gic_open(cbm_ignore_checked_t **owner, const cbm_ignore_checked_limits_t *limits) {
63 cbm_ignore_checked_error_t error;

Callers 14

gic_openFunction · 0.85
gic_parseFunction · 0.85
gic_matchFunction · 0.85
gic_terminalFunction · 0.85
gic_bad_spanFunction · 0.85
gic_preflightFunction · 0.85
gic_invalid_openFunction · 0.85
gic_optional_errorsFunction · 0.85
gic_match_limitFunction · 0.85
gic_expiredFunction · 0.85
gic_owner_oomFunction · 0.85
gic_parse_oomFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected