pub fn process<P: AsRef<Path>>(
path: P,
max_depth: usize,
progress: Arc<ScanProgress>,
exclude_patterns: &[Pattern],
scan_strategy: &ScanStrategy<'_>,
) -> Result<ProcessResult, Error>Expand description
Scan a directory tree and produce ProcessResult entries.
This traverses files/directories up to max_depth, applies exclusion
patterns, extracts metadata, and performs license/copyright parsing.