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

Function glob_paths

tools/docs_and_notebooks_check.py:415–419  ·  view source on GitHub ↗
(repo_root: Path, patterns: list[str])

Source from the content-addressed store, hash-verified

413
414
415def glob_paths(repo_root: Path, patterns: list[str]) -> list[Path]:
416 results: list[Path] = []
417 for pat in patterns:
418 results.extend(repo_root.glob(pat))
419 return sorted({p.resolve() for p in results if p.is_file()})
420
421
422def is_excluded(rel_path: str, exclude_patterns: list[str]) -> bool:

Callers 2

scan_filesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected