MCPcopy Create free account
hub / github.com/enowdev/enowX-Coder / cleanup

Function cleanup

src-tauri/src/tools/executor.rs:643–648  ·  view source on GitHub ↗
(test_name: &str)

Source from the content-addressed store, hash-verified

641 }
642
643 fn cleanup(test_name: &str) {
644 let path = PathBuf::from("/tmp").join(format!("enowx-test-{}", test_name));
645 if path.exists() {
646 std::fs::remove_dir_all(&path).ok();
647 }
648 }
649
650 // ── Path Traversal ─────────────────────────────────────────────────────────
651

Calls

no outgoing calls