Skip to main content

Module repomap

Module repomap 

Source
Expand description

Repository map: structural summary of a codebase ranked by importance.

Builds a directed graph of file-to-file references (file A references a symbol defined in file B) and runs PageRank to rank files by importance. The top files plus their most-referenced symbols are rendered into a token-budgeted summary suitable for feeding to an LLM context window.

Structs§

RepoMap
A repository map ranked by PageRank over the file-reference graph.

Enums§

RepoMapError
Errors produced by RepoMap.