@cryptotaxi247 / kubo / commits / 4a86b7b6b

fix hidden file detection on windows

License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>

Jeromy committed Mar 24, 2017 at 12:21 UTC 4a86b7b6b9d0cb039c82851940a08101756c11dd
1 file changed +1 -1
commands/files/is_hidden_windows.go
+1 -1
@@ -16,7 +16,7 @@ func IsHidden(f File) bool {
16 return true
17 }
18
19 - p, e := syscall.UTF16PtrFromString(f.FileName())
19 + p, e := syscall.UTF16PtrFromString(f.FullPath())
20 if e != nil {
21 return false
22 }