Documentation
¶
Index ¶
- func GetVersionDiff(oldVersion, newVersion string) (left, right string)
- func RemoveInvalidTargets(logger *text.Logger, targets []string, mode parser.TargetMode) []string
- type AURWarnings
- type Builder
- type ErrAURSearch
- type ErrNoQuery
- type Pkg
- type SearchVerbosity
- type SourceQueryBuilder
- func (s *SourceQueryBuilder) Execute(ctx context.Context, dbExecutor db.Executor, pkgS []string)
- func (s *SourceQueryBuilder) GetTargets(include, exclude intrange.IntRanges, otherExclude mapset.Set[string]) ([]string, error)
- func (s *SourceQueryBuilder) Len() int
- func (s *SourceQueryBuilder) Results(dbExecutor db.Executor, verboseSearch SearchVerbosity) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetVersionDiff ¶ added in v12.0.5
func RemoveInvalidTargets ¶
Types ¶
type AURWarnings ¶
type AURWarnings struct { Orphans []string OutOfDate []string Missing []string LocalNewer []string // contains filtered or unexported fields }
func NewWarnings ¶
func NewWarnings(logger *text.Logger) *AURWarnings
func (*AURWarnings) AddToWarnings ¶ added in v12.0.4
func (warnings *AURWarnings) AddToWarnings(remote map[string]alpm.IPackage, aurPkg *aur.Pkg)
func (*AURWarnings) CalculateMissing ¶ added in v12.0.4
func (*AURWarnings) Print ¶
func (warnings *AURWarnings) Print()
type ErrAURSearch ¶
type ErrAURSearch struct {
// contains filtered or unexported fields
}
ErrAURSearch means that it was not possible to connect to the AUR.
func (ErrAURSearch) Error ¶
func (e ErrAURSearch) Error() string
type ErrNoQuery ¶
type ErrNoQuery struct{}
ErrNoQuery means that query was not executed.
func (ErrNoQuery) Error ¶
func (e ErrNoQuery) Error() string
type SearchVerbosity ¶
type SearchVerbosity int
const ( NumberMenu SearchVerbosity = iota Detailed Minimal )
Verbosity settings for search.
type SourceQueryBuilder ¶
type SourceQueryBuilder struct {
// contains filtered or unexported fields
}
func NewSourceQueryBuilder ¶
func NewSourceQueryBuilder( aurClient aur.QueryClient, logger *text.Logger, sortBy string, targetMode parser.TargetMode, searchBy string, bottomUp, singleLineResults bool, separateSources bool, ) *SourceQueryBuilder
func (*SourceQueryBuilder) GetTargets ¶
func (*SourceQueryBuilder) Len ¶
func (s *SourceQueryBuilder) Len() int
func (*SourceQueryBuilder) Results ¶
func (s *SourceQueryBuilder) Results(dbExecutor db.Executor, verboseSearch SearchVerbosity) error
Click to show internal directories.
Click to hide internal directories.