repomap

package
v1.2.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultTokenBudget = 2048

Variables

This section is empty.

Functions

func Render

func Render(m *Map, tokenBudget int) string

Types

type Entry

type Entry struct {
	Path      string
	Language  string
	Package   string
	Imports   []string
	Symbols   []Symbol
	RankScore float64
}

type Map

type Map struct {
	Root          string
	FilesScanned  int
	FilesIncluded int
	Entries       []Entry
}

func Build

func Build(ctx context.Context, opts Options) (*Map, error)

type Options

type Options struct {
	Root         string
	TokenBudget  int
	FocusFiles   []string
	FocusSymbols []string
}

type Symbol

type Symbol struct {
	Kind      string
	Name      string
	Signature string
	Exported  bool
	Line      int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL