Skip to content

Commit

Permalink
Merge pull request #3829 from ipfs/fix/windows-hidden-files
Browse files Browse the repository at this point in the history
fix hidden file detection on windows
  • Loading branch information
whyrusleeping authored Mar 24, 2017
2 parents 15632be + 4a86b7b commit b46ee82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/files/is_hidden_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit b46ee82

Please sign in to comment.