fn collect_cpp_files(
dir: &Path,
files: &mut Vec<PathBuf>,
max_depth: Option<usize>,
) -> Result<(), IcbError>Expand description
Walk the directory tree and collect C/C++ source files.
Symlinks are not followed, and the optional max_depth limits recursion.
Walk the directory tree and collect C/C++ source files.
Symlinks are not followed, and the optional max_depth limits recursion.
File extensions are matched case‑insensitively.