Yields strings from text files in paths.
(paths: Iterable[Path])
| 56 | |
| 57 | |
| 58 | def _stream_texts(paths: Iterable[Path]) -> Iterable[str]: |
| 59 | """ |
| 60 | Yields strings from text files in paths. |
| 61 | """ |
| 62 | for path in paths: |
| 63 | with open(path, "r") as fin: |
| 64 | text = fin.read() |
| 65 | yield text |
| 66 | |
| 67 | |
| 68 | @app.command("apply") |
no outgoing calls
no test coverage detected
searching dependent graphs…