Skip to main content

case_insensitive_exists

Function case_insensitive_exists 

Source
fn case_insensitive_exists(path: &Path) -> bool
Expand description

Check whether a file exists using case-insensitive extension matching.

Tries the exact path first (fast), then scans the parent directory for a case-variant match (e.g. .XMP vs .xmp).