(dir string, matchPath *regexp.Regexp)
| 164 | } |
| 165 | |
| 166 | func (s *List) ProcessDirectory(dir string, matchPath *regexp.Regexp) error { |
| 167 | return filepath.Walk(dir, func(path string, info os.FileInfo, err error) error { |
| 168 | if err == nil && matchPath.MatchString(path) { |
| 169 | s.ci.ProcessFile(path) |
| 170 | } |
| 171 | return nil |
| 172 | }) |
| 173 | } |
| 174 | |
| 175 | func NewList(cfg baker.InputParams) (baker.Input, error) { |
| 176 | inpututils.SetGCPercentIfNotSet(800) |
nothing calls this directly
no test coverage detected