risk

package
v0.0.0-...-2200605 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2017 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Risk

type Risk struct {
	// contains filtered or unexported fields
}

Risk is an attempt to quantify the risk of changing a file.

func Calculate

func Calculate(file string, commits git.Commits) Risk

Calculate the risk of the given file.

func (*Risk) Write

func (r *Risk) Write(writer io.Writer)

Write the results of the risk assessment

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳