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

Function gf_object

tests/test_test_impact_git.c:184–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182}
183
184static bool gf_object(gf_fixture_t *fx, const char *type, const void *bytes, size_t length,
185 char out[65]) {
186 const char *argv[] = {"hash-object", "-w", "--no-filters", "-t",
187 type, "--", fx->object_file, NULL};
188 return gf_write(fx->object_file, bytes, length) && gf_oid(fx, argv, out);
189}
190
191static bool gf_index(gf_fixture_t *fx, const char *mode, const char *oid, const char *path) {
192 char entry[GF_SMALL];

Callers 5

gf_commitFunction · 0.85
gf_fixture_openFunction · 0.85
gfi_raw_tree_formatFunction · 0.85
gfb_openFunction · 0.85

Calls 2

gf_writeFunction · 0.85
gf_oidFunction · 0.70

Tested by

no test coverage detected