pub async fn should_exclude_file_with_is_dir(
file_path: &Path,
is_dir: bool,
) -> boolExpand description
Check if a path should be excluded, reusing a known directory flag.
The caller must supply a target-resolved flag; prefer
should_exclude_file_with_file_type in traversal loops.