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

Function tia_receipt

tests/test_test_impact_artifact.c:23–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23static cbm_ti_receipt_t tia_receipt(bool coverage) {
24 cbm_ti_receipt_t r = {0};
25 memset(r.commit, 'a', 40);
26 memset(r.graph_sha256, 'b', 64);
27 memset(r.graph_content_sha256, '9', 64);
28 memset(r.graph_topology_sha256, '8', 64);
29 snprintf(r.platform, sizeof(r.platform), "linux-x86_64-clang");
30 r.has_coverage = coverage;
31 if (coverage) {
32 memset(r.functions_sha256, 'c', 64);
33 memset(r.tests_sha256, 'd', 64);
34 memset(r.metadata_sha256, 'e', 64);
35 memset(r.compatibility_sha256, 'f', 64);
36 r.oldest_observation_at = 1791150000;
37 }
38 return r;
39}
40
41TEST(test_impact_artifact_receipt_round_trips) {
42 char *dir = th_mktempdir("cbm_tia_rt");

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected