Lines Matching refs:filepath
99 if filepath.Base(pattern) == "**" {
159 pattern = filepath.Clean(pattern)
170 pattern = filepath.Dir(pattern)
217 newMatches, err := fs.glob(filepath.Join(MatchEscape(m), file))
239 dir, file = filepath.Split(path)
285 _, name := filepath.Split(match)
298 if filepath.Base(pattern) == "**" {
316 pattern, patternFile = filepath.Dir(pattern), filepath.Base(pattern)
327 if match, err := filepath.Match(pattern, name); err != nil {
332 name = filepath.Dir(name)
338 name, nameFile = filepath.Dir(name), filepath.Base(name)
348 match, err := filepath.Match(patternFile, nameFile)
378 dir := filepath.Dir(filename)