MCPcopy Create free account
hub / github.com/CodeGraphContext/CodeGraphContext / do_index

Function do_index

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

Source from the content-addressed store, hash-verified

977
978 # Index the repository first (like MCP does)
979 async def do_index():
980 await graph_builder.build_graph_from_path_async(
981 path_obj,
982 is_dependency=False,
983 cgcignore_path=ctx.cgcignore_path,
984 )
985
986 asyncio.run(do_index())
987 console.print("[green]✓[/green] Initial scan complete")

Callers 1

watch_helperFunction · 0.85

Calls 1

Tested by

no test coverage detected