Skip to content

Commit b46ee82

Browse files
Merge pull request #3829 from ipfs/fix/windows-hidden-files
fix hidden file detection on windows
2 parents 15632be + 4a86b7b commit b46ee82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands/files/is_hidden_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ func IsHidden(f File) bool {
1616
return true
1717
}
1818

19-
p, e := syscall.UTF16PtrFromString(f.FileName())
19+
p, e := syscall.UTF16PtrFromString(f.FullPath())
2020
if e != nil {
2121
return false
2222
}

0 commit comments

Comments
 (0)