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

Function th_cleanup

tests/test_helpers.h:165–169  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

163
164/* Remove a temp directory tree. Safe to call with NULL. */
165static inline void th_cleanup(const char *path) {
166 if (path && path[0]) {
167 th_rmtree(path);
168 }
169}
170
171#endif /* TEST_HELPERS_H */

Callers 2

test_discover.cFile · 0.85

Calls 1

th_rmtreeFunction · 0.85

Tested by

no test coverage detected