Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Graph ¶
type Graph struct { Name string Container *anpb.ActionGraphContainer Artifacts artifact.PathMap Targets target.Map DepSetOfFiles depset.Map DepSetResolver depset.Resolver Actions []*dipb.Action OutputMap OutputMap }
Graph holds compiled data about the action graph container.
type OutputMap ¶
OutputMap is a map of string -> action were the key is the primary output file(s) of the action.
func NewOutputMap ¶
NewOutputMap creates a new actionOutputMap.
type OutputPair ¶
type OutputPair struct { Output string Action *dipb.Action // representative of before/after Before *dipb.Action After *dipb.Action }
func (*OutputPair) Diff ¶
func (p *OutputPair) Diff() string
func (*OutputPair) UnifiedDiff ¶
func (p *OutputPair) UnifiedDiff() string
type OutputPairs ¶
type OutputPairs []*OutputPair
func Partition ¶
func Partition(before, after OutputMap) (beforeOnly, afterOnly, both OutputPairs)
func (OutputPairs) Len ¶
func (p OutputPairs) Len() int
func (OutputPairs) Less ¶
func (p OutputPairs) Less(i, j int) bool
func (OutputPairs) Swap ¶
func (p OutputPairs) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.