Lines Matching refs:pattern
66 Glob(pattern string, excludes []string) (matches, dirs []string, err error)
67 glob(pattern string) (matches []string, err error)
96 func (fs osFs) Glob(pattern string, excludes []string) (matches, dirs []string, err error) {
97 return startGlob(fs, pattern, excludes)
100 func (osFs) glob(pattern string) ([]string, error) {
101 return filepath.Glob(pattern)
168 func (m *mockFs) Glob(pattern string, excludes []string) (matches, dirs []string, err error) {
169 return startGlob(m, pattern, excludes)
172 func (m *mockFs) glob(pattern string) ([]string, error) {
175 match, err := filepath.Match(pattern, f)
179 if f == "." && f != pattern {
180 // filepath.Glob won't return "." unless the pattern was "."