fix race when options are changed while sorting

Related #502
This commit is contained in:
Gokcehan committed 2020-11-18 22:46:59 +03:00
1 parent 8dd4be0ddb
commit c629b3d4ce
3 files changed
+15 -15

No files matched your search

+1 -1
View File
@@ -114,7 +114,7 @@ func isExecutable(f os.FileInfo) bool {
return false
}
func isHidden(f os.FileInfo, path string) bool {
func isHidden(f os.FileInfo, path string, hiddenfiles []string) bool {
ptr, err := syscall.UTF16PtrFromString(filepath.Join(path, f.Name()))
if err != nil {
return false