parser

package
v1.3.6 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoPrint

func DoPrint(cfg *config.Config, path string, exclusions *regexp.Regexp) bool

DoPrint will output the coverage to StdOut

func DoSlack

func DoSlack(cfg *config.Config, path string, exclusions *regexp.Regexp)

DoSlack will output the coverage to slack

func PrintCoverage

func PrintCoverage(writer io.Writer, basePath string, exclusionsMatcher *regexp.Regexp, minCoverage int, prefix string, depth int) bool

PrintCoverage will attempt to calculate and print the coverage from the supplied coverage file to standard out.

func PrintCoverageSingle

func PrintCoverageSingle(writer io.Writer, path string, minCoverage int, prefix string, depth int) bool

PrintCoverageSingle is the same as PrintCoverage only for 1 directory only

func SlackCoverage

func SlackCoverage(basePath string, exclusionsMatcher *regexp.Regexp, webHook string, channelOverride string, prefix string, depth int)

SlackCoverage will attempt to calculate and output the coverage from the supplied coverage files to Slack

func SlackCoverageSingle

func SlackCoverageSingle(path string, webHook string, channelOverride string, prefix string, depth int)

SlackCoverageSingle is the same as SlackCoverage only for 1 directory only

Types

This section is empty.

Jump to

Keyboard shortcuts

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