Lines Matching refs:fileName
34 func verifyGlob(fileName, pattern string, excludes []string, g GlobPath) { argument
36 panic(fmt.Errorf("Mismatched patterns %q and %q for glob file %q", pattern, g.Pattern, fileName))
39 …panic(fmt.Errorf("Mismatched excludes %v and %v for glob file %q", excludes, g.Excludes, fileName))
44 …panic(fmt.Errorf("Mismatched excludes %v and %v for glob file %q", excludes, g.Excludes, fileName))
50 fileName := globToFileName(pattern, excludes)
54 g, exists := c.globs[fileName]
59 verifyGlob(fileName, pattern, excludes, g)
71 if g, exists = c.globs[fileName]; !exists {
72 c.globs[fileName] = GlobPath{pattern, excludes, files, deps, fileName}
78 verifyGlob(fileName, pattern, excludes, g)
93 for i, fileName := range fileNames {
94 globs[i] = c.globs[fileName]