diff --git a/bin/src/qmdl_store.rs b/bin/src/qmdl_store.rs
index 9e1f805..9ad4577 100644
--- a/bin/src/qmdl_store.rs
+++ b/bin/src/qmdl_store.rs
@@ -115,37 +115,6 @@ impl RecordingStore {
})
}
- // Given a path to a directory of QMDL files, attempt to create a new
- // manifest (and analysis files) from scratch. Useful if the existing
- // manifest is corrupt or out of date. This will always re-run all
- // analyzers over all of the given QMDLs.
- pub async fn restore_from_dir
(path: P) -> Result
- where
- P: AsRef,
- {
- info!("restoring RecordingStore from dir {:?}", path.as_ref());
- let mut dir = fs::read_dir(path).await
- .map_err(RecordingStoreError::OpenDirError)?;
- loop {
- let dir_entry = match dir.next_entry().await {
- Ok(Some(entry)) => entry,
- Ok(None) => break,
- Err(err) => return Err(RecordingStoreError::OpenDirError(err)),
- };
- let qmdl_path = dir_entry.path();
- if qmdl_path.ends_with("qmdl") {
- info!("ignoring non-QMDL file {:?}", qmdl_path);
- continue;
- }
- let mut manifest_entry = ManifestEntry::new();
- manifest_entry.name = qmdl_path.file_stem()
- .unwrap()
- .to_string_lossy()
- .into_owned();
- }
- todo!();
- }
-
// Creates a new RecordingStore at the given path. This involves creating a dir
// and writing an empty manifest.
pub async fn create(path: P) -> Result