Documentation ¶
Index ¶
- Variables
- func NewGraph() *topo.Graph[string, *InstallInfo]
- type Grapher
- func (g *Grapher) AddDepsForPkgs(ctx context.Context, pkgs []*aur.Pkg, graph *topo.Graph[string, *InstallInfo])
- 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) GraphFromSrcInfos(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) GraphSyncGroup(ctx context.Context, graph *topo.Graph[string, *InstallInfo], ...) *topo.Graph[string, *InstallInfo]
- 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 Reason
- type Source
- type Target
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Grapher ¶
type Grapher struct {
// contains filtered or unexported fields
}
func NewGrapher ¶
func (*Grapher) AddDepsForPkgs ¶ added in v12.1.0
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) GraphFromSrcInfos ¶ added in v12.1.0
func (*Grapher) GraphFromTargets ¶
func (*Grapher) GraphSyncGroup ¶ added in v12.1.1
func (*Grapher) GraphSyncPkg ¶
func (g *Grapher) GraphSyncPkg(ctx context.Context, graph *topo.Graph[string, *InstallInfo], pkg alpm.IPackage, upgradeInfo *db.SyncUpgrade, ) *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 IsGroup bool Upgrade bool Devel bool }
func (*InstallInfo) String ¶
func (i *InstallInfo) String() string
Click to show internal directories.
Click to hide internal directories.