builder

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProgressFunc added in v0.2.0

type ProgressFunc func(step string, current, total int)

ProgressFunc is called with (step description, current, total). current=0,total=0 means indeterminate.

type Result

type Result struct {
	SessionCount int
	CommitCount  int
	LinkedCount  int
	EntryCount   int
	ParseCached  bool
	LinkCached   bool
}

Result holds the outcome of a build.

func Build

func Build(projectDir string) (*Result, error)

Build runs parse + link for the given project directory. Uses cache to skip work when nothing changed.

func BuildWithProgress added in v0.2.0

func BuildWithProgress(projectDir string, progress ProgressFunc) (*Result, error)

BuildWithProgress runs parse + link with optional progress reporting.

Jump to

Keyboard shortcuts

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