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

Function activation_test_path

tests/test_activation_transaction.c:42–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42static bool activation_test_path(char out[ACTIVATION_TEST_PATH_CAP], const char *directory,
43 const char *name) {
44 int written = snprintf(out, ACTIVATION_TEST_PATH_CAP, "%s/%s", directory, name);
45 return written > 0 && written < ACTIVATION_TEST_PATH_CAP;
46}
47
48static bool activation_test_read(const char *path, char out[ACTIVATION_TEST_CONTENT_CAP]) {
49 FILE *file = cbm_fopen(path, "rb");

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected