MCPcopy Create free account
hub / github.com/AdRoll/baker / ProcessDirectory

Method ProcessDirectory

input/list.go:166–173  ·  view source on GitHub ↗
(dir string, matchPath *regexp.Regexp)

Source from the content-addressed store, hash-verified

164}
165
166func (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
175func NewList(cfg baker.InputParams) (baker.Input, error) {
176 inpututils.SetGCPercentIfNotSet(800)

Callers

nothing calls this directly

Calls 1

ProcessFileMethod · 0.80

Tested by

no test coverage detected