Documentation
¶
Overview ¶
Package buildinfo centralises build metadata for the lazyworktree binary. The linker injects values into cmd/lazyworktree/main.go; main() calls Set() to forward them here so every other package can query them.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Enrich ¶
func Enrich()
Enrich fills missing metadata from runtime/debug.ReadBuildInfo(). It overwrites commit when it equals "none" and builtBy when it equals "unknown", using VCS revision and Go version respectively.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.