pub fn process_with_options<P: AsRef<Path>>(
path: P,
max_depth: usize,
progress: Arc<ScanProgress>,
exclude_patterns: &[Pattern],
scan_strategy: &ScanStrategy<'_>,
text_options: &TextDetectionOptions,
) -> Result<ProcessResult, Error>