indexer

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2026 License: MIT 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 {
	WorkspaceRoot   string
	Database        *db.Database
	IgnoreList      *ignore.IgnoreList
	LspManager      *lsp.LSPManager
	FunctionsByFile map[string][]db.FunctionEntity
	FunctionsMu     sync.RWMutex
}

func NewIndexer

func NewIndexer(workspaceRoot string, database *db.Database, ignoreList *ignore.IgnoreList, lspManager *lsp.LSPManager) *Indexer

func (*Indexer) HandleFileUpdate

func (idx *Indexer) HandleFileUpdate(filePath string)

HandleFileUpdate processes a file modification delta update.

func (*Indexer) IngestWorkspace

func (idx *Indexer) IngestWorkspace() error

IngestWorkspace walks the workspace and performs Pass 1 and Pass 2 on all source files.

Jump to

Keyboard shortcuts

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