index

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Indexer

type Indexer struct {
	// contains filtered or unexported fields
}

func New

func New(parser *parser.Engine, store *store.Store) *Indexer

func NewWithNativeConfig added in v0.5.0

func NewWithNativeConfig(parser *parser.Engine, store *store.Store, cfg native.Config) *Indexer

func (*Indexer) Index

func (i *Indexer) Index(ctx context.Context, root string) (*graph.CodeGraph, core.IndexResult, error)

func (*Indexer) IndexWithOptions added in v0.6.0

func (i *Indexer) IndexWithOptions(ctx context.Context, root string, opts Options) (*graph.CodeGraph, core.IndexResult, error)

func (*Indexer) SetNativeConfig added in v0.5.0

func (i *Indexer) SetNativeConfig(cfg native.Config)

type Options added in v0.6.0

type Options struct {
	// Force re-runs native analyzers and rebuilds edges even when no files
	// changed — needed after toolchain availability changes (e.g. installing
	// go/node makes richer native edges possible without any file edits).
	Force bool
}

Options controls a single Index run.

Jump to

Keyboard shortcuts

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