mirror of
https://github.com/OpenListTeam/OpenList.git
synced 2025-07-19 01:48:42 +08:00
13 lines
157 B
Go
13 lines
157 B
Go
![]() |
//go:build !windows
|
||
|
|
||
|
package local
|
||
|
|
||
|
import (
|
||
|
"io/fs"
|
||
|
"strings"
|
||
|
)
|
||
|
|
||
|
func isHidden(f fs.FileInfo, _ string) bool {
|
||
|
return strings.HasPrefix(f.Name(), ".")
|
||
|
}
|