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

Function pt_object

tests/test_test_impact_tree.c:554–558  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

552}
553
554static bool pt_object(pt_fixture *fx, const char *type, const void *bytes, size_t length,
555 char out[65]) {
556 const char *argv[] = {"hash-object", "-w", "--no-filters", "-t", type, "--", fx->input, NULL};
557 return pt_write(fx->input, bytes, length) && pt_oid(fx, argv, out);
558}
559
560static bool pt_commit(pt_fixture *fx, const char *tree, const char *one, const char *two,
561 const char *name, char out[65]) {

Callers 3

pt_commitFunction · 0.85
pt_populateFunction · 0.85
pt_flat_treeFunction · 0.85

Calls 2

pt_writeFunction · 0.85
pt_oidFunction · 0.85

Tested by

no test coverage detected