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

Function cleanup_dir

tests/test_artifact.c:61–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61static void cleanup_dir(const char *path) {
62 char cmd[2048];
63 snprintf(cmd, sizeof(cmd), "rm -rf '%s'", path);
64 (void)system(cmd);
65}
66
67static void write_text_file(const char *path, const char *text) {
68 FILE *fp = fopen(path, "w");

Callers 1

test_artifact.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected