1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-07-01 10:49:24 +08:00

fix hidden file detection on windows

License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
This commit is contained in:
Jeromy
2017-03-24 12:21:43 -07:00
parent 7b2d9adcfa
commit 4a86b7b6b9

View File

@ -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
}