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

Function activation_test_fixture

tests/test_activation_transaction.c:36–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34enum { ACTIVATION_TEST_PATH_CAP = 1024, ACTIVATION_TEST_CONTENT_CAP = 256 };
35
36static bool activation_test_fixture(char out[ACTIVATION_TEST_PATH_CAP]) {
37 int written = snprintf(out, ACTIVATION_TEST_PATH_CAP, "%s/cbm-activation-transaction-XXXXXX",
38 cbm_tmpdir());
39 return written > 0 && written < ACTIVATION_TEST_PATH_CAP && cbm_mkdtemp(out) != NULL;
40}
41
42static bool activation_test_path(char out[ACTIVATION_TEST_PATH_CAP], const char *directory,
43 const char *name) {

Callers 1

Calls 2

cbm_tmpdirFunction · 0.85
cbm_mkdtempFunction · 0.85

Tested by

no test coverage detected