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

Function cleanup_dir

tests/test_artifact.c:55–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55static void cleanup_dir(const char *path) {
56 char cmd[2048];
57 snprintf(cmd, sizeof(cmd), "rm -rf '%s'", path);
58 (void)system(cmd);
59}
60
61static void write_text_file(const char *path, const char *text) {
62 FILE *fp = fopen(path, "w");

Callers 1

test_artifact.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected