Commit 4a86b7b6 authored by Jeromy's avatar Jeromy

fix hidden file detection on windows

License: MIT
Signed-off-by: default avatarJeromy <jeromyj@gmail.com>
parent 7b2d9adc
......@@ -16,7 +16,7 @@ func IsHidden(f File) bool {
return true
}
p, e := syscall.UTF16PtrFromString(f.FileName())
p, e := syscall.UTF16PtrFromString(f.FullPath())
if e != nil {
return false
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment