mirror of
https://github.com/Jguer/yay.git
synced 2024-11-06 17:17:22 +01:00
e4a1f018ea
* fix(alpm): fix callback text * feat(yay): Add mixed search result * remove old result structs * add option for controlling query builder * only set query builder after parsing args * add parser args * update manpage * write test for results * write test for results * mixed source test * only sort 1 time with every mode
29 lines
635 B
Go
29 lines
635 B
Go
package settings
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/Morganamilo/go-pacmanconf"
|
|
|
|
"github.com/Jguer/aur"
|
|
|
|
"github.com/Jguer/yay/v11/pkg/query"
|
|
"github.com/Jguer/yay/v11/pkg/settings/exe"
|
|
"github.com/Jguer/yay/v11/pkg/settings/parser"
|
|
"github.com/Jguer/yay/v11/pkg/vcs"
|
|
)
|
|
|
|
type Runtime struct {
|
|
Mode parser.TargetMode
|
|
QueryBuilder query.Builder
|
|
Version string // current version of yay
|
|
SaveConfig bool
|
|
CompletionPath string
|
|
ConfigPath string
|
|
PacmanConf *pacmanconf.Config
|
|
VCSStore *vcs.InfoStore
|
|
CmdBuilder exe.ICmdBuilder
|
|
HTTPClient *http.Client
|
|
AURClient *aur.Client
|
|
}
|