MCPcopy Index your code
hub / github.com/DeepLabCut/DeepLabCut / _matches_any

Function _matches_any

tools/test_selector.py:325–332  ·  view source on GitHub ↗
(path: str, preds: Sequence[Callable[[str], bool]])

Source from the content-addressed store, hash-verified

323
324
325def _matches_any(path: str, preds: Sequence[Callable[[str], bool]]) -> bool:
326 for pred in preds:
327 try:
328 if pred(path):
329 return True
330 except Exception:
331 continue
332 return False
333
334
335def decide(files: list[str]) -> SelectorResult:

Callers 2

decideFunction · 0.85
explain_changed_filesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected