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
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.