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

Function th_cleanup

tests/test_helpers.h:219–223  ·  view source on GitHub ↗

Remove a temp directory tree. Safe to call with NULL. */

Source from the content-addressed store, hash-verified

217
218/* Remove a temp directory tree. Safe to call with NULL. */
219static inline void th_cleanup(const char *path) {
220 if (path && path[0]) {
221 th_rmtree(path);
222 }
223}
224
225#endif /* TEST_HELPERS_H */

Callers 15

cte_fixtureFunction · 0.85
yaml_fixture_initFunction · 0.85
cte_fixtureFunction · 0.85
test_httpd.cFile · 0.85
test_workspace.cFile · 0.85
test_discover.cFile · 0.85
agent_fixtureFunction · 0.85

Calls 1

th_rmtreeFunction · 0.85

Tested by

no test coverage detected