MCPcopy Create free account
hub / github.com/Moosync/Moosync / cleanup_test_dir

Function cleanup_test_dir

src-tauri/preferences/src/test.rs:33–37  ·  view source on GitHub ↗

Helper for cleaning up test directories

(dir: PathBuf)

Source from the content-addressed store, hash-verified

31
32// Helper for cleaning up test directories
33fn cleanup_test_dir(dir: PathBuf) {
34 if dir.exists() {
35 let _ = fs::remove_dir_all(dir);
36 }
37}
38
39#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
40struct TestConfig {

Callers 8

test_preference_initFunction · 0.85
test_save_and_load_arrayFunction · 0.85
test_secure_preferencesFunction · 0.85
test_update_preferencesFunction · 0.85
test_has_keyFunction · 0.85
test_preference_eventsFunction · 0.85
test_remove_preferenceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected