Documentation ¶
Index ¶
- Variables
- func ComputeCombinedDepList(pkg *aur.Pkg, noDeps, noCheckDeps bool) []string
- type Base
- type Grapher
- func (g *Grapher) GraphAURTarget(ctx context.Context, graph *topo.Graph[string, *InstallInfo], pkg *aurc.Pkg, ...) *topo.Graph[string, *InstallInfo]
- func (g *Grapher) GraphFromAUR(ctx context.Context, graph *topo.Graph[string, *InstallInfo], targets []string) (*topo.Graph[string, *InstallInfo], error)
- func (g *Grapher) GraphFromSrcInfo(ctx context.Context, graph *topo.Graph[string, *InstallInfo], ...) (*topo.Graph[string, *InstallInfo], error)
- func (g *Grapher) GraphFromTargets(ctx context.Context, graph *topo.Graph[string, *InstallInfo], targets []string) (*topo.Graph[string, *InstallInfo], error)
- func (g *Grapher) GraphSyncPkg(ctx context.Context, graph *topo.Graph[string, *InstallInfo], ...) *topo.Graph[string, *InstallInfo]
- func (g *Grapher) ValidateAndSetNodeInfo(graph *topo.Graph[string, *InstallInfo], node string, ...)
- type InstallInfo
- type Order
- type Pool
- func (dp *Pool) CheckConflicts(useAsk, noConfirm, noDeps bool) (stringset.MapStringSet, error)
- func (dp *Pool) CheckMissing(noDeps, noCheckDeps bool) error
- func (dp *Pool) ResolveRepoDependency(pkg db.IPackage, noDeps bool)
- func (dp *Pool) ResolveTargets(ctx context.Context, pkgs []string, mode parser.TargetMode, ...) error
- type Reason
- type Source
- type Target
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Base ¶
Base is an AUR base package.
type Grapher ¶
type Grapher struct {
// contains filtered or unexported fields
}
func NewGrapher ¶
func (*Grapher) GraphAURTarget ¶
func (g *Grapher) GraphAURTarget(ctx context.Context, graph *topo.Graph[string, *InstallInfo], pkg *aurc.Pkg, instalInfo *InstallInfo, ) *topo.Graph[string, *InstallInfo]
func (*Grapher) GraphFromAUR ¶
func (*Grapher) GraphFromSrcInfo ¶
func (*Grapher) GraphFromTargets ¶
func (*Grapher) GraphSyncPkg ¶
func (g *Grapher) GraphSyncPkg(ctx context.Context, graph *topo.Graph[string, *InstallInfo], pkg alpm.IPackage, instalInfo *InstallInfo, ) *topo.Graph[string, *InstallInfo]
func (*Grapher) ValidateAndSetNodeInfo ¶
func (g *Grapher) ValidateAndSetNodeInfo(graph *topo.Graph[string, *InstallInfo], node string, nodeInfo *topo.NodeInfo[*InstallInfo], )
type InstallInfo ¶
type InstallInfo struct { Source Source Reason Reason Version string LocalVersion string SrcinfoPath *string AURBase *string SyncDBName *string Upgrade bool Devel bool }
func (*InstallInfo) String ¶
func (i *InstallInfo) String() string
type Pool ¶
type Pool struct { Targets []Target Explicit stringset.StringSet Repo map[string]db.IPackage Aur map[string]*query.Pkg AurCache map[string]*query.Pkg Groups []string AlpmExecutor db.Executor Warnings *query.AURWarnings // contains filtered or unexported fields }
func GetPool ¶
func GetPool(ctx context.Context, pkgs []string, warnings *query.AURWarnings, dbExecutor db.Executor, aurClient rpc.ClientInterface, mode parser.TargetMode, ignoreProviders, noConfirm, provides bool, rebuild string, splitN int, noDeps bool, noCheckDeps bool, assumeInstalled []string, ) (*Pool, error)
func (*Pool) CheckConflicts ¶
func (dp *Pool) CheckConflicts(useAsk, noConfirm, noDeps bool) (stringset.MapStringSet, error)
func (*Pool) CheckMissing ¶
func (*Pool) ResolveRepoDependency ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.