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

Function index

src/cocoindex_code/cli.py:615–622  ·  view source on GitHub ↗

Create/update index for the codebase.

()

Source from the content-addressed store, hash-verified

613@app.command()
614@_catch_daemon_start_error
615def index() -> None:
616 """Create/update index for the codebase."""
617 from . import client as _client
618
619 project_root = str(require_project_root())
620 print_project_header(project_root)
621 _run_index_with_progress(project_root)
622 print_index_stats(_client.project_status(project_root))
623
624
625@app.command()

Callers

nothing calls this directly

Calls 4

require_project_rootFunction · 0.85
print_project_headerFunction · 0.85
_run_index_with_progressFunction · 0.85
print_index_statsFunction · 0.85

Tested by

no test coverage detected