From ba94f58d7e3e43054d0d717102d4c915988f1e73 Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Tue, 28 Feb 2023 21:45:10 -0800 Subject: [PATCH] index_store: remove unused reinit() function --- lib/src/index_store.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/src/index_store.rs b/lib/src/index_store.rs index 14ba43083..04c5e5937 100644 --- a/lib/src/index_store.rs +++ b/lib/src/index_store.rs @@ -50,11 +50,6 @@ impl IndexStore { } } - pub fn reinit(&self) { - std::fs::remove_dir_all(self.dir.join("operations")).unwrap(); - IndexStore::init(&self.dir); - } - pub fn load(dir: &Path) -> IndexStore { IndexStore { dir: dir.to_owned(),