Commit b46ee82d authored by Jeromy Johnson's avatar Jeromy Johnson Committed by GitHub

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

fix hidden file detection on windows
parents 15632bef 4a86b7b6
......@@ -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