pub fn collect_files(
base_path: &Path,
filters: &[String],
ignores: &[String],
auto_ignores: &[String],
) -> Result<Vec<DirEntry>>Expand description
Collects all files to be processed using ignore crate for efficient traversal.
auto_ignores are runtime-computed exclusion patterns (e.g., the tool’s own
output file or cache directory). They are processed identically to user ignores
but kept separate to avoid polluting user-facing configuration.