@@ -3,7 +3,6 @@ package fsext
33import (
44 "os"
55 "path/filepath"
6− "strings"
76
87 "github.com/charlievieth/fastwalk"
98 ignore "github.com/sabhiram/go-gitignore"
@@ -110,10 +109,6 @@ func (dl *DirectoryLister) shouldIgnore(path string, ignorePatterns []string) bo
110109
111110 base := filepath.Base(path)
112111
113− if base != "." && strings.HasPrefix(base, ".") {
114− return true
115− }
116−
117112 for _, pattern := range ignorePatterns {
118113 matched, err := filepath.Match(pattern, base)
119114 if err == nil && matched {