indexer

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ShouldSkipDir added in v1.0.2

func ShouldSkipDir(rel string, excludes []string) bool

Types

type Indexer

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

func New

func New(s *store.Store, registry *parser.Registry) *Indexer

func (*Indexer) Index

func (i *Indexer) Index(ctx context.Context, opts Options) (store.ScanSummary, error)

func (*Indexer) Update

func (i *Indexer) Update(ctx context.Context, opts Options) (store.ScanSummary, error)

type Options

type Options struct {
	RepoRoot  string
	Force     bool
	Include   []string
	Exclude   []string
	Languages []string
	GitBase   string
	Paths     []string
	ScanKind  string
}

Jump to

Keyboard shortcuts

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