coverage

package
v0.0.0-...-831fdfd Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Analyze

func Analyze(ctx context.Context, dataCoverage io.Reader, pack models.Package) (float64, error)

Types

type Data

type Data struct {
	Files []*calculateFile
	Set   bool
}

type Tree

type Tree struct {
	*object.Tree
}

func GetTreeFromGit

func GetTreeFromGit(ctx context.Context, url string) (*Tree, error)

func (Tree) GoFileList

func (t Tree) GoFileList(pattern string) ([]string, error)

Jump to

Keyboard shortcuts

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