Skip to main content

should_exclude_file_with_is_dir

Function should_exclude_file_with_is_dir 

Source
pub async fn should_exclude_file_with_is_dir(
    file_path: &Path,
    is_dir: bool,
) -> bool
Expand 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.