(out_path: Path)
| 213 | @contextmanager |
| 214 | @enforce_types |
| 215 | def timed_index_update(out_path: Path): |
| 216 | log_indexing_started(out_path) |
| 217 | timer = TimedProgress(TIMEOUT * 2, prefix=' ') |
| 218 | try: |
| 219 | yield |
| 220 | finally: |
| 221 | timer.end() |
| 222 | |
| 223 | assert out_path.exists(), f'Failed to write index file: {out_path}' |
| 224 | log_indexing_finished(out_path) |
| 225 | |
| 226 | |
| 227 | @enforce_types |
no test coverage detected