MCPcopy Index your code
hub / github.com/CodeGraphContext/CodeGraphContext / do_index

Function do_index

src/codegraphcontext/cli/cli_helpers.py:765–770  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

763
764 # Index the repository first (like MCP does)
765 async def do_index():
766 await graph_builder.build_graph_from_path_async(
767 path_obj,
768 is_dependency=False,
769 cgcignore_path=ctx.cgcignore_path,
770 )
771
772 asyncio.run(do_index())
773 console.print("[green]✓[/green] Initial scan complete")

Callers 1

watch_helperFunction · 0.85

Calls 1

Tested by

no test coverage detected