Expand description
PageRank-weighted structural overview of a codebase.
Builds a dependency graph from tree-sitter definition and import extraction,
ranks files by importance using PageRank (standard or topic-sensitive), and
renders a budget-constrained overview with tiered detail levels.
Structs§
- Archived
Call Ref - An archived
CallRef - Archived
Definition - An archived
Definition - Archived
File Node - An archived
FileNode - Archived
Import Ref - An archived
ImportRef - Archived
Repo Graph - An archived
RepoGraph - CallRef
- A call site extracted from a definition body.
- Call
RefResolver - The resolver for an archived
CallRef - Dead
Cluster - A connected component in the dead-code subgraph.
- Dead
Code Report - Summary report from
compute_dead_code. - Definition
- A definition extracted from a source file.
- Definition
Resolver - The resolver for an archived
Definition - File
Node - A file in the repository with its definitions and imports.
- File
Node Resolver - The resolver for an archived
FileNode - GetRepo
MapResponse - JSON-mode response envelope for
get_repo_map(4.0.1 shape). - Import
Ref - An import reference extracted from a source file.
- Import
RefResolver - The resolver for an archived
ImportRef - Repo
Graph - Persisted dependency graph with
PageRankscores. - Repo
Graph Resolver - The resolver for an archived
RepoGraph - Repo
MapCall - An outgoing call-edge from a file to another file.
- Repo
MapFile - One file entry in the JSON repo map.
- Repo
MapLsp Location - LSP-shaped location pointing at a file or symbol within a file.
- Repo
MapSymbol - A top-level symbol extracted from a file in the repository map.
Enums§
- Focus
Resolution - Result of resolving a user-supplied
focus_filestring against aRepoGraph.
Functions§
- build_
def_ index_ pub - Build an index from definition name to list of
DefIds. - build_
graph - Build a dependency graph from a repository root.
- build_
graph_ from_ files_ pub - Build a
RepoGraphdirectly from a pre-constructedVec<FileNode>. - build_
neighbor_ lists - Build top-N caller and callee lists for each file.
- build_
trait_ impl_ edges_ pub - Build bidirectional trait↔impl method edges for PageRank propagation (G3).
- compute_
dead_ code - Compute the set of definitions unreachable from any entry point.
- enrich_
go_ method_ def_ scopes_ pub - Public wrapper for
enrich_go_method_def_scopes— enables integration tests to call it directly without going through the fullbuild_graphpipeline. - enrich_
sql_ file_ def_ pub - Public wrapper for [
enrich_sql_file_def] — enables integration tests to call it directly without going through the fullbuild_graphpipeline. - extract_
calls_ pub - Public wrapper for
extract_calls— enables integration tests to call it directly without going through the fullbuild_graphpipeline. - extract_
python_ class_ hierarchy - Extract the Python
class → [parents]map from a single source file by parsing it with tree-sitter-python. - render
- Render a budget-constrained overview of the repository.
- render_
json - Render a
PageRank-sorted JSON map of the repository (4.0.0 compatibility shim). - render_
json_ budgeted - Render a
PageRank-weighted JSON map with token-budget allocation (4.0.1). - resolve_
calls_ pub - Resolve call references to target definitions.
- resolve_
calls_ with_ python_ mro_ pub - Resolve call references with MRO-aware Python receiver dispatch enabled.