MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / iter_files

Function iter_files

scripts/expand-doxygen.py:65–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63
64
65def iter_files() -> list[Path]:
66 files: list[Path] = []
67 for root in ROOTS:
68 if not root.exists():
69 continue
70 for p in root.rglob("*"):
71 if p.is_file() and p.suffix.lower() in EXTS:
72 files.append(p)
73 return files
74
75
76def main() -> int:

Callers 1

mainFunction · 0.85

Calls 2

existsMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected