pub fn find_case_insensitive_file(
directory: &Path,
expected_file_name: &str,
) -> Result<Option<PathBuf>>Expand description
Finds one file in directory with ASCII case-insensitive name matching.
When multiple entries differ only by case, this function returns a deterministic winner by sorting candidates on:
- lowercase filename
- original filename bytes