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

Function update_helper

src/codegraphcontext/cli/cli_helpers.py:550–553  ·  view source on GitHub ↗

Update/refresh index for a path (alias for reindex).

(path: str, context: Optional[str] = None)

Source from the content-addressed store, hash-verified

548
549
550def update_helper(path: str, context: Optional[str] = None):
551 """Update/refresh index for a path (alias for reindex)."""
552 console.print("[cyan]Updating repository index...[/cyan]")
553 reindex_helper(path, context)
554
555
556def clean_helper(context: Optional[str] = None):

Callers

nothing calls this directly

Calls 1

reindex_helperFunction · 0.85

Tested by

no test coverage detected