pub trait FileDiscovery: Send + Sync {
// Required method
fn discover_files(
&self,
project_dir: &Path,
supported_ext: &[&str],
) -> Result<Vec<PathBuf>, ScanError>;
}Expand description
Abstraction over file discovery (directory walking with ignore rules).