coverage

package
v1.0.31 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Format

func Format(mode string, lines []*CovLine) string

mode can be: set

Types

type CovLine

type CovLine struct {
	Prefix string
	Count  int64
}

func Filter

func Filter(covs []*CovLine, check func(line *CovLine) bool) []*CovLine

func Merge

func Merge(covs ...[]*CovLine) []*CovLine

func Parse

func Parse(content string) (mode string, covLines []*CovLine)

func ParseCovLine

func ParseCovLine(line string) *CovLine

Jump to

Keyboard shortcuts

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