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

Function gfa_poisoned

tests/test_test_impact_git.c:1338–1341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1336static const unsigned char gfa_renamed_names[] = "A\0new.c\0D\0old.c\0D\0removed.c\0";
1337static const unsigned char gfa_merge_names[] = "M\0new.c\0M\0revert.c\0";
1338static cbm_git_bytes_t gfa_poisoned(void) {
1339 static const unsigned char stale[] = "stale";
1340 return (cbm_git_bytes_t){stale, sizeof(stale)};
1341}
1342static bool gfa_clear(cbm_git_bytes_t out) { return out.data == NULL && out.length == 0; }
1343static bool gfa_clean_error(const cbm_git_facts_error_t *e) {
1344 return e->status == CBM_GIT_FACTS_OK && e->exit_code == -1 && e->diagnostic[0] == '\0';

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected