Merge pull request #3829 from ipfs/fix/windows-hidden-files

fix hidden file detection on windows
This commit is contained in:
Jeromy Johnson 2017-03-24 12:50:09 -07:00 committed by GitHub
commit b46ee82dd9

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
}