mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-01 02:30:39 +08:00
Merge pull request #3829 from ipfs/fix/windows-hidden-files
fix hidden file detection on windows
This commit is contained in:
@ -16,7 +16,7 @@ func IsHidden(f File) bool {
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
p, e := syscall.UTF16PtrFromString(f.FileName())
|
p, e := syscall.UTF16PtrFromString(f.FullPath())
|
||||||
if e != nil {
|
if e != nil {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user