report

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	Config    *config.Config
	RepoStore core.RepoStore
}

Service of Report

func (*Service) DiffReports

func (service *Service) DiffReports(source, target *core.Report) (*core.CoverageReportDiff, error)

DiffReports coverage differences

func (*Service) MarkdownReport

func (service *Service) MarkdownReport(source, target *core.Report) (io.Reader, error)

MarkdownReport generates coverage summary report in markdown format

func (*Service) MergeReport

func (service *Service) MergeReport(from, to *core.Report, changes []*core.FileChange) (*core.Report, error)

MergeReport of two coverage reports, the report types are not necessary to be equal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL