Clean up unused imports, dead code, and compiler warnings

Remove unused StoreView imports, unused store imports, dead
install_default_file, dead make_report_slug, dead fact-mine/
experience-mine spawning loops in daemon. Fix mut warnings.
Zero compiler warnings now.
This commit is contained in:
ProofOfConcept 2026-03-17 00:47:52 -04:00
parent 6932e05b38
commit 7a24d84ce3
11 changed files with 11 additions and 82 deletions

View file

@ -1,10 +1,7 @@
// cli/misc.rs — misc subcommand handlers
use crate::store;
use crate::store::StoreView;
pub fn cmd_search(terms: &[String], pipeline_args: &[String], expand: bool, full: bool, debug: bool, fuzzy: bool, content: bool) -> Result<(), String> {
use crate::store::StoreView;
use std::collections::BTreeMap;
// Parse pipeline stages (unified: algorithms, filters, transforms, generators)
@ -71,6 +68,7 @@ pub fn cmd_search(terms: &[String], pipeline_args: &[String], expand: bool, full
}
} else {
// Fast MmapView path — algorithm-only pipeline
use crate::store::StoreView;
let view = crate::store::AnyView::load()?;
let graph = crate::graph::build_graph_fast(&view);