MCPcopy Create free account
hub / github.com/temporalio/temporal / processDir

Function processDir

tools/parallelize/parallelize.go:33–43  ·  view source on GitHub ↗
(dir string)

Source from the content-addressed store, hash-verified

31}
32
33func processDir(dir string) error {
34 return filepath.WalkDir(dir, func(path string, d os.DirEntry, err error) error {
35 if err != nil {
36 return err
37 }
38 if d.IsDir() || !strings.HasSuffix(path, "_test.go") {
39 return nil
40 }
41 return processFile(path)
42 })
43}
44
45func processFile(path string) error {
46 fset := token.NewFileSet()

Callers 2

TestProcessDirFunction · 0.85
MainFunction · 0.85

Calls 1

processFileFunction · 0.85

Tested by 1

TestProcessDirFunction · 0.68