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

Function target_matches

tools/docs_and_notebooks_check.py:323–326  ·  view source on GitHub ↗
(rel_path: str, specs: list[TargetSpec] | None)

Source from the content-addressed store, hash-verified

321
322
323def target_matches(rel_path: str, specs: list[TargetSpec] | None) -> bool:
324 if specs is None:
325 return True
326 return any(target_spec_matches_path(rel_path, spec) for spec in specs)
327
328
329def iter_scan_candidate_paths(repo_root: Path, cfg: ToolConfig) -> list[str]:

Callers 2

scan_filesFunction · 0.85

Calls 1

target_spec_matches_pathFunction · 0.85

Tested by

no test coverage detected