MCPcopy Create free account
hub / github.com/cocoindex-io/cocoindex-code / _on_progress

Function _on_progress

src/cocoindex_code/cli.py:207–210  ·  view source on GitHub ↗
(progress: IndexingProgress)

Source from the content-addressed store, hash-verified

205 )
206
207 def _on_progress(progress: IndexingProgress) -> None:
208 nonlocal last_progress_line
209 last_progress_line = f"Indexing: {_format_progress(progress)}"
210 live.update(_Spinner("dots", last_progress_line))
211
212 try:
213 resp = _client.index(project_root, on_progress=_on_progress, on_waiting=_on_waiting)

Callers

nothing calls this directly

Calls 1

_format_progressFunction · 0.85

Tested by

no test coverage detected