Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAborted = errors.New("")
ErrAborted is returned when the user presses ESC or Ctrl+C to cancel a picker or confirmation prompt. main.go treats this as a clean exit (no error message, exit code 0).
Functions ¶
func SetBuildInfo ¶
func SetBuildInfo(v, c, d string)
SetBuildInfo is called from main with values injected at link time (-ldflags "-X main.version=... -X main.commit=... -X main.date=..."). When fields are empty, values are read from debug.BuildInfo so `go install` builds still show useful detail.
func SetVersion ¶
func SetVersion(v string)
SetVersion is retained for backwards compatibility with older main.go.
Types ¶
Source Files
¶
- add.go
- archive.go
- bench.go
- cache.go
- compat.go
- config.go
- down.go
- files.go
- gateway.go
- hardware.go
- ik_llama.go
- import.go
- init.go
- inspect.go
- install.go
- install_ik_llama.go
- llama.go
- logs.go
- models.go
- pick.go
- ps.go
- pull.go
- reconcile.go
- restart.go
- rm.go
- root.go
- sd.go
- state.go
- stats.go
- status.go
- up.go
- update.go
- validate.go
- version.go
- whisper.go
Click to show internal directories.
Click to hide internal directories.