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

Function do_index

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

Source from the content-addressed store, hash-verified

1171
1172 # Index the repository first (like MCP does)
1173 async def do_index():
1174 await graph_builder.build_graph_from_path_async(
1175 path_obj,
1176 is_dependency=False,
1177 cgcignore_path=ctx.cgcignore_path,
1178 )
1179
1180 asyncio.run(do_index())
1181 console.print("[green]✓[/green] Initial scan complete")

Callers 1

watch_helperFunction · 0.85

Calls 1

Tested by

no test coverage detected