Searched refs:constantPartOfPattern (Results 1 – 2 of 2) sorted by relevance
151 rel, err := filepath.Rel(constantPartOfPattern(input), file.Name)155 return fmt.Errorf("globbed path %q was not in %q", file.Name, constantPartOfPattern(input))286 func constantPartOfPattern(pattern string) string { func
508 got := constantPartOfPattern(test.in)