Documentation
¶
Index ¶
- func ComputeCoverageSummary(project *model.ProjectAnnotation, opts *ComputeOptions) map[string]*coverage.Summary
- func LineChanged(fileData *model.FileAnnotation, lineData *model.LineAnnotation) bool
- func LineUncoverableOrExcluded(lineData *model.LineAnnotation) bool
- func UpdateCoverageDetail(label string, covered bool, changed bool, detail *coverage.Detail, ...) *coverage.Detail
- func UpdateCoverageValue(detail *coverage.Detail)
- type ComputeOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeCoverageSummary ¶
func ComputeCoverageSummary(project *model.ProjectAnnotation, opts *ComputeOptions) map[string]*coverage.Summary
depends: Line.CoverageLabels
func LineChanged ¶
func LineChanged(fileData *model.FileAnnotation, lineData *model.LineAnnotation) bool
func LineUncoverableOrExcluded ¶
func LineUncoverableOrExcluded(lineData *model.LineAnnotation) bool
func UpdateCoverageDetail ¶
func UpdateCoverageValue ¶
Types ¶
type ComputeOptions ¶
type ComputeOptions struct { LabelOptions map[string]*compute.LabelOption DisableFunc bool NeedUncoveredList bool }
Click to show internal directories.
Click to hide internal directories.