Function get_case_insensitive_filename

Source
pub fn get_case_insensitive_filename(
    folder_path: &str,
    filename: &str,
) -> String
Expand description

Get the first filename in a folder that has a case insensitive match with the filename
argument.

This is used to retain case insensitivity when opening data files on Linux.

Returns the filename that matches.