(f string)
| 37 | } |
| 38 | |
| 39 | func (i dockerPathMatcher) Matches(f string) (bool, error) { |
| 40 | if !filepath.IsAbs(f) { |
| 41 | f = filepath.Join(i.repoRoot, f) |
| 42 | } |
| 43 | return i.matcher.MatchesOrParentMatches(f) |
| 44 | } |
| 45 | |
| 46 | func (i dockerPathMatcher) MatchesEntireDir(f string) (bool, error) { |
| 47 | matches, err := i.Matches(f) |