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

Function tf_cleanup_cache_sentinel

tests/test_main.c:162–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160static char tf_home_sentinel[512];
161
162static void tf_cleanup_cache_sentinel(void) {
163 if (tf_home_sentinel[0]) {
164 th_rmtree(tf_home_sentinel);
165 }
166}
167
168static bool tf_setup_cache_sentinel(void) {
169 snprintf(tf_home_sentinel, sizeof(tf_home_sentinel), "/tmp/cbm-test-home-XXXXXX");

Callers

nothing calls this directly

Calls 1

th_rmtreeFunction · 0.85

Tested by

no test coverage detected