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

Function tf_cleanup_cache_sentinel

tests/test_main.c:205–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203static char tf_runtime_sentinel[512];
204
205static void tf_cleanup_cache_sentinel(void) {
206 if (tf_home_sentinel[0]) {
207 th_rmtree(tf_home_sentinel);
208 }
209 if (tf_runtime_sentinel[0]) {
210 th_rmtree(tf_runtime_sentinel);
211 }
212}
213
214/* Client home overrides the CLI honours BEFORE $HOME, so redirecting HOME alone
215 * does not isolate them: cbm_codex_config_dir() and its siblings return the

Callers

nothing calls this directly

Calls 1

th_rmtreeFunction · 0.85

Tested by

no test coverage detected