mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-18 02:04:19 +00:00
index_store: remove unused reinit() function
This commit is contained in:
parent
94bdbb7ff7
commit
ba94f58d7e
1 changed files with 0 additions and 5 deletions
|
@ -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 {
|
pub fn load(dir: &Path) -> IndexStore {
|
||||||
IndexStore {
|
IndexStore {
|
||||||
dir: dir.to_owned(),
|
dir: dir.to_owned(),
|
||||||
|
|
Loading…
Reference in a new issue