(f string)
| 124 | } |
| 125 | |
| 126 | func (c CompositePathMatcher) MatchesEntireDir(f string) (bool, error) { |
| 127 | for _, t := range c.Matchers { |
| 128 | matches, err := t.MatchesEntireDir(f) |
| 129 | if matches || err != nil { |
| 130 | return matches, err |
| 131 | } |
| 132 | } |
| 133 | return false, nil |
| 134 | } |
| 135 | |
| 136 | var _ PathMatcher = CompositePathMatcher{} |
nothing calls this directly
no test coverage detected