1
0
mirror of https://github.com/go-task/task.git synced 2025-03-23 21:29:29 +02:00
2019-01-19 19:25:49 -02:00

13 lines
183 B
Go

// +build !windows
package watcher
import (
"path/filepath"
"strings"
)
func isHiddenFile(path string) (bool, error) {
return strings.HasPrefix(filepath.Base(path), "."), nil
}