Lines Matching refs:filepath
93 if filepath.Base(pattern) == "**" {
157 pattern = filepath.Clean(pattern)
168 pattern = filepath.Dir(pattern)
215 newMatches, err := fs.glob(filepath.Join(MatchEscape(m), file))
237 dir, file = filepath.Split(path)
283 _, name := filepath.Split(match)
296 if filepath.Base(pattern) == "**" {
314 pattern, patternFile = filepath.Dir(pattern), filepath.Base(pattern)
325 if match, err := filepath.Match(pattern, name); err != nil {
330 name = filepath.Dir(name)
336 name, nameFile = filepath.Dir(name), filepath.Base(name)
346 match, err := filepath.Match(patternFile, nameFile)
376 dir := filepath.Dir(filename)