dirty scan speed testing

This commit is contained in:
thePR0M3TH3AN
2025-05-18 23:53:50 -04:00
parent e9b9606c9a
commit 7b596ab17a
12 changed files with 234 additions and 24 deletions

View File

@@ -1,4 +1,5 @@
// src/cli.rs
pub mod link;
pub mod coll;
pub mod view;
@@ -42,6 +43,10 @@ pub enum Commands {
/// Scan one or more directories and populate the file index
Scan {
/// Only re-index files marked dirty by `marlin watch`
#[arg(long)]
dirty: bool,
/// Directories to scan (defaults to cwd)
paths: Vec<std::path::PathBuf>,
},