MCPcopy Create free account
hub / github.com/InternScience/SciReason / _mf_with_multi_workdirs

Function _mf_with_multi_workdirs

opencompass/utils/run.py:29–35  ·  view source on GitHub ↗
(workdir, pattern, fuzzy=False)

Source from the content-addressed store, hash-verified

27 directly returned.
28 """
29 def _mf_with_multi_workdirs(workdir, pattern, fuzzy=False):
30 if isinstance(workdir, str):
31 workdir = [workdir]
32 files = []
33 for wd in workdir:
34 files += match_files(wd, pattern, fuzzy=fuzzy)
35 return files
36
37 if isinstance(pattern, str):
38 pattern = [pattern]

Callers 1

match_cfg_fileFunction · 0.85

Calls 1

match_filesFunction · 0.90

Tested by

no test coverage detected