Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Lines ¶
type Lines struct {
// contains filtered or unexported fields
}
Lines is a minimal coloured line writer for commands whose output is a short narrative rather than a table.
type SelectedPackage ¶
type SelectedPackage struct {
ImportPath string `json:"importPath"`
Reason string `json:"reason"`
Tests []string `json:"tests,omitempty"`
FullReason string `json:"fullReason,omitempty"`
}
func (SelectedPackage) Mode ¶
func (p SelectedPackage) Mode() string
type Summary ¶
type Summary struct {
TotalPackages int `json:"totalPackages"`
TestablePackages int `json:"testablePackages"`
SelectedPackages []SelectedPackage `json:"selectedPackages"`
ChangedPackages []string `json:"changedPackages"`
IgnoredFiles []string `json:"ignoredFiles,omitempty"`
SelectAll bool `json:"selectAll"`
SelectAllReason string `json:"selectAllReason,omitempty"`
ReductionPercent float64 `json:"reductionPercent"`
GraphFromCache bool `json:"graphFromCache"`
Note string `json:"note,omitempty"`
NarrowingEnabled bool `json:"narrowingEnabled"`
NarrowingDisabled string `json:"narrowingDisabled,omitempty"`
FullPackages int `json:"fullPackages"`
NarrowedPackages int `json:"narrowedPackages"`
DroppedPackages int `json:"droppedPackages"`
SelectedTests int `json:"selectedTests"`
BlockingFiles []string `json:"blockingFiles,omitempty"`
BaseCommit string `json:"baseCommit,omitempty"`
}
func NewSummary ¶
Click to show internal directories.
Click to hide internal directories.