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

Function gf_oid_line

src/mcp/test_impact_git.c:693–700  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

691}
692
693static bool gf_oid_line(cbm_git_facts_t *facts, const cbm_git_bytes_t *bytes, char out[65],
694 cbm_git_facts_error_t *error) {
695 const unsigned char *text;
696 size_t n;
697 if (!gf_line(bytes, &text, &n) || !gf_oid(out, text, n, facts->identity.oid_hex_length))
698 return gf_error(error, CBM_GIT_FACTS_COMMAND, "Git returned an invalid full object ID");
699 return true;
700}
701
702static bool gf_resolve(cbm_git_facts_t *facts, const char *ref, char out[65],
703 cbm_git_facts_error_t *error) {

Callers 2

gf_resolveFunction · 0.85
gf_open_identityFunction · 0.85

Calls 3

gf_lineFunction · 0.85
gf_errorFunction · 0.85
gf_oidFunction · 0.70

Tested by

no test coverage detected