stuff i think idk
parent
08c07467d8
commit
63a659fe87
@ -0,0 +1,8 @@
|
|||||||
|
use std::{fs, env};
|
||||||
|
|
||||||
|
pub fn clearcache() {
|
||||||
|
let path = format!("{}/.cache/ame/", std::env::var("HOME").unwrap());
|
||||||
|
|
||||||
|
fs::remove_dir_all(&path).unwrap();
|
||||||
|
fs::create_dir(&path).unwrap();
|
||||||
|
}
|
Loading…
Reference in New Issue