MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / iter_text_files

Function iter_text_files

scripts/developer-guide/find_unused_images.py:26–29  ·  view source on GitHub ↗
(root: Path)

Source from the content-addressed store, hash-verified

24
25
26def iter_text_files(root: Path) -> Iterable[Path]:
27 for path in root.rglob("*"):
28 if path.is_file() and path.suffix.lower() in ASCIIDOC_EXTENSIONS:
29 yield path
30
31
32def main() -> None:

Callers 1

mainFunction · 0.85

Calls 1

lowerMethod · 0.65

Tested by

no test coverage detected