indexer

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 License: MIT Imports: 8 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(repo *git.Repository, db *database.DB, opts Options) *Indexer

func (*Indexer) Run

func (idx *Indexer) Run() (*Result, error)

type Options

type Options struct {
	Branch           string
	Since            string
	Output           io.Writer
	Quiet            bool
	Incremental      bool // Use existing branch and continue from last SHA
	BatchSize        int  // Commits to buffer before flushing (default 500)
	SnapshotInterval int  // Store snapshot every N commits with changes (default 50)
}

type Result

type Result struct {
	CommitsAnalyzed    int
	CommitsWithChanges int
	TotalChanges       int
	TagSnapshots       int
	BranchSnapshots    int
}

Jump to

Keyboard shortcuts

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