fix for hidden files being visible on external drives
This commit is contained in:
parent
a87aac1038
commit
e2f70a1215
2 changed files with 19 additions and 2 deletions
|
|
@ -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();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue