fix for hidden files being visible on external drives

This commit is contained in:
Frederic Laing 2025-11-12 23:12:12 +01:00 committed by Ashley Wulber
parent a87aac1038
commit e2f70a1215
2 changed files with 19 additions and 2 deletions

View file

@ -2531,7 +2531,7 @@ fn folder_name<P: AsRef<Path>>(path: P) -> (String, bool) {
}
// parse .hidden file and return files path
fn parse_hidden_file(path: &PathBuf) -> Box<[String]> {
pub fn parse_hidden_file(path: &PathBuf) -> Box<[String]> {
let Ok(file) = File::open(path) else {
return Default::default();
};