remove unused function

This commit is contained in:
SadlyNotSappho 2023-07-25 15:16:38 -07:00
parent f03c42f8f7
commit 81cc929595
1 changed files with 0 additions and 7 deletions

View File

@ -68,13 +68,6 @@ pub fn read_config(file: &String) -> Config {
serde_json::from_str(&read[..]).expect("couldn't parse json") serde_json::from_str(&read[..]).expect("couldn't parse json")
} }
pub fn ensure_exists(path: String) {
let p = Path::new(&path);
if !p.exists() {
fs::create_dir_all(p).expect("couldn't create folder")
}
}
#[derive(Serialize, Deserialize)] #[derive(Serialize, Deserialize)]
pub struct Config { pub struct Config {
pub latest_date: String, pub latest_date: String,