Documentation
¶
Overview ¶
Package ranking implements token-budget-aware file selection.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterByFile ¶ added in v1.2.0
FilterByFile returns a new RepoMap containing only files whose path contains substr (case-insensitive), with all dependency edges touching those files and call edges from functions defined in those files.
func FilterBySymbol ¶ added in v1.2.0
FilterBySymbol returns a new RepoMap containing only symbols whose name contains substr (case-insensitive), the files that define those symbols, files that define their direct callers and callees, and the edges that connect them.
When withMembers is true and a matched symbol is a class/struct, the members table of the returned RepoMap is populated with that class's field tags. If no top-level definitions match, withMembers triggers a fallback search over member names (the unqualified part after ".").
Types ¶
This section is empty.