Documentation ¶
Index ¶
- func DoPrint(cfg *config.Config, path string, exclusions *regexp.Regexp) bool
- func DoSlack(cfg *config.Config, path string, exclusions *regexp.Regexp)
- func PrintCoverage(writer io.Writer, basePath string, exclusionsMatcher *regexp.Regexp, ...) bool
- func PrintCoverageSingle(writer io.Writer, path string, minCoverage int, prefix string, depth int) bool
- func SlackCoverage(basePath string, exclusionsMatcher *regexp.Regexp, webHook string, ...)
- func SlackCoverageSingle(path string, webHook string, channelOverride string, prefix string, depth int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.